global variable
I have a global variable that I use to keep running total of a transaction
amounts in the subreport. Then in the main report on BeforePrint of the
Summary band I assign the global variable value to the diplayed variable in
the report.
This all works fine and calculations are fine with one exception. In
preview, if I go to the end of the document where the Summary band is
displayed, it is correct. However, if I go back to beginning of document
and then return to the end, the value has increased and will do so each time
I do this.
Strangely, it does not double and I have not been able to determine where it
is getting the increase. If I go back just one or two pages and then go to
the end, nothing the total does not change. It only changes if I go to
beginning of docuement and then to end.
Any thoughts?
amounts in the subreport. Then in the main report on BeforePrint of the
Summary band I assign the global variable value to the diplayed variable in
the report.
This all works fine and calculations are fine with one exception. In
preview, if I go to the end of the document where the Summary band is
displayed, it is correct. However, if I go back to beginning of document
and then return to the end, the value has increased and will do so each time
I do this.
Strangely, it does not double and I have not been able to determine where it
is getting the increase. If I go back just one or two pages and then go to
the end, nothing the total does not change. It only changes if I go to
beginning of docuement and then to end.
Any thoughts?
This discussion has been closed.
Comments
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
thought first submit did not work.
Sorry.