Hi, Is there any way to access a variable component not in the subreport in the Calc code tab of a subreport, eg ppVariable1.value :=1; where ppVariable1 is a component not in the subreport.
Yes, you will need to create a global variable and reference it to the variable outside the subreport. Then you can access the global variable inside the subreport's calc section. See the following demo for an example of how this should be done.
Comments
Yes, you will need to create a global variable and reference it to the
variable outside the subreport. Then you can access the global variable
inside the subreport's calc section. See the following demo for an example
of how this should be done.
http://www.digital-metaphors.com/tips/RAPGrandTotalInHeader.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com