Invicible Sub report for generating shared variables
Hi!
Im creating a report with a manual running total in a main report. As a condition to the running total, Im having a sub-report in the details section bringing a shared boolean variable back to the main report.
My problem is that I dont want the sub report to be visible. Have tried suppress it, but then the shared variable isnt brought to the main report correctly.
Please advice me!
Regards,
Karl
[442 byte] By [
karll] at [2007-11-20 11:41:35]

# 1 Re: Invicible Sub report for generating shared variables
Suppressing the report doesn't stop the execution of the report.
Show the code that you are using or screen shot.
# 2 Re: Invicible Sub report for generating shared variables
Suppress all sections of the subreport; the formulas etc. within it will still run. In the subreport's properties (right click it in the main report) choose suppress blank subreport. In the main report, choose suppress blank section.
# 3 Re: Invicible Sub report for generating shared variables
Hi!
Thanks for fast reply.
I've uploaded a screenshot of the report. When showing the sub-report, I'm getting the shared variables back. But if I suppress the section of the sub-report, the sub-report or un-select the can-grow flag, I'm not getting any share variable back (i.e. it's false).
Have anyone seen this behaviour before?
B.R
Karl
karll at 2007-11-9 14:13:56 >

# 4 Re: Invicible Sub report for generating shared variables
If you suppress the subreport it doesn't run. That's why you suppress the sections within the subreport and suppress both a blank subreport and a blank section containing the subreport. It then still runs, but nothing is displayed.
# 5 Re: Invicible Sub report for generating shared variables
Yea, that works!
Thanks alot, you saved my day/week/job... :)
Regards,
Karl
karll at 2007-11-9 14:16:01 >
