referring to fields in other subreports
I have a report with three subreports. Depending on a report parameter i
want to modify fields in the sub reports to make them visible or not.
In my main report before print event I specify the following:
subreport1.Price3Field.visible := ParameterVisibleFlag;
however It is unable to compile as it is not aware of Price3field from the
subreport. Is there any way around this?
want to modify fields in the sub reports to make them visible or not.
In my main report before print event I specify the following:
subreport1.Price3Field.visible := ParameterVisibleFlag;
however It is unable to compile as it is not aware of Price3field from the
subreport. Is there any way around this?
This discussion has been closed.
Comments
Are you using RAP? If so, you can place the value of the parameter inside a
global variable and use that to determine whether the text is visilble.
Then you can use an event such as Band.BeforePrint to toggle the visibility
property.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com