Home » Developer & Programmer » Reports & Discoverer » set format trigger=return(false) for a parent frame
set format trigger=return(false) for a parent frame [message #618558] Sun, 13 July 2014 07:26 Go to next message
hahaie
Messages: 194
Registered: May 2014
Senior Member
hello,
please see file attachment.
in data model have two query for employes,departments
in paper layout have two separate layout(a layout for query employes and another layout for query department).
for example in format trigger of parent frame of lay_emp==> return(false);
In this case,with execute report, Output 1 will have.
in output1 have a place empty of lay_emp and this is Not-so-good.
if i not want this place empty and i want frame of lay_dep go up(see output2),Is there a way?
tanks
Re: set format trigger=return(false) for a parent frame [message #618571 is a reply to message #618558] Sun, 13 July 2014 13:12 Go to previous messageGo to next message
Littlefoot
Messages: 21610
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Try to set vertical elasticity of LAY_EMP (which is sometimes empty) to variable (or contract).
Re: set format trigger=return(false) for a parent frame [message #618694 is a reply to message #618571] Mon, 14 July 2014 22:41 Go to previous messageGo to next message
hahaie
Messages: 194
Registered: May 2014
Senior Member
Thank you for your answer.
This property can be set by code(run time)?
Re: set format trigger=return(false) for a parent frame [message #618697 is a reply to message #618694] Mon, 14 July 2014 23:01 Go to previous messageGo to next message
Littlefoot
Messages: 21610
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Check SRW built-in package in Report's Help. If you can do that, you'll use one of its procedures.

Though, why would you want to do that? Set the property now, while designing the report.
Re: set format trigger=return(false) for a parent frame [message #618703 is a reply to message #618697] Tue, 15 July 2014 00:11 Go to previous messageGo to next message
hahaie
Messages: 194
Registered: May 2014
Senior Member
Because each Layout display is based on an input parameter.
Re: set format trigger=return(false) for a parent frame [message #618704 is a reply to message #618703] Tue, 15 July 2014 00:13 Go to previous messageGo to next message
Littlefoot
Messages: 21610
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
It doesn't matter. Format trigger takes care about it (as it returns a Boolean) so the frame will (or will not) be displayed. Elasticity, I hope, will help with extra space left when there's nothing to display, and that's something you just don't have to set dynamically.
Re: set format trigger=return(false) for a parent frame [message #618711 is a reply to message #618704] Tue, 15 July 2014 00:40 Go to previous messageGo to next message
hahaie
Messages: 194
Registered: May 2014
Senior Member
yes... ok....
thanks

[Updated on: Tue, 15 July 2014 00:41]

Report message to a moderator

Re: set format trigger=return(false) for a parent frame [message #623766 is a reply to message #618711] Sun, 14 September 2014 05:56 Go to previous messageGo to next message
hahaie
Messages: 194
Registered: May 2014
Senior Member
Why this is not always the answer?
for example with file attachment above:in lay_emp i have another frames and a line ,...
Settings mentioned above did But does not answer.why?
Re: set format trigger=return(false) for a parent frame [message #623784 is a reply to message #623766] Sun, 14 September 2014 13:27 Go to previous message
Littlefoot
Messages: 21610
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I don't understand the question.

Different problems have different solutions; why would the answer given in this topic fit ALL questions (if that's what "always" means)?
Previous Topic: number of record
Next Topic: ERROR IN REPORT GROUP
Goto Forum:
  


Current Time: Thu Oct 22 01:45:09 CDT 2020