Confused about order of printing
Hi,
I did not see this question in any other post but I
can't believe I'm the first to ask it.
I have a report that has a group. In the group
header I have a subreport that build does not
print anything but in the rap code fills in a set
of global variable. These global variables are
used in labels on the group header.
The problem is that Before Print of the group
header labels fire before the subreport executes.
What controls the order? Is there are fixed
list of what fires on a band and when? Is
there any way to control the order? It does
not seem to be the order in the report tree. I
kind of expected that if there was a set order
it would be either following the report tree or
all subreports first then objects on the screen.
Could you give me some insight.
Thanks
Joseph Gordon
I did not see this question in any other post but I
can't believe I'm the first to ask it.
I have a report that has a group. In the group
header I have a subreport that build does not
print anything but in the rap code fills in a set
of global variable. These global variables are
used in labels on the group header.
The problem is that Before Print of the group
header labels fire before the subreport executes.
What controls the order? Is there are fixed
list of what fires on a band and when? Is
there any way to control the order? It does
not seem to be the order in the report tree. I
kind of expected that if there was a set order
it would be either following the report tree or
all subreports first then objects on the screen.
Could you give me some insight.
Thanks
Joseph Gordon
This discussion has been closed.
Comments
Check out demos 141 - 148 in the \RBuilder\Demos\1. Reports\... directory.
These demos use an Event Tracker addon to detect the order that each event
fires. You could hook this up to your application to see the firing order
of the events you are using. Other than changing the events you use, there
is no way to change the firing order of the ReportBuilder events.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com