Home Subreports
New Blog Posts: Merging Reports - Part 1 and Part 2

Global Variables can't be set in subreports?

edited February 2006 in Subreports
I am having a problem getting a variable from the subreport to a main
report.

I have tried setting a global variable, but it always resets to 0 back in
the main report. I've even tried changing the values of certain objects in
the main report and no luck.

It seems everything I do in the subreport is kept locally inside of it.

The code to set the variables is on the OnCalc, as I have the subreport set
as Not Visible.

Comments

This discussion has been closed.