Variables and Totals
Hi there,
I've got a report that lists transactions, all works just fine.
In the transaction line that prints I have a variable and I use the
variable's OnCalc event to add the variable's value to a total.
After a page break the first transaction line's value is not adding to the
total. The first line on each new page is skipped.
I thought the trick was to use the OnCalc to avoid this sort of thing, but I
must be missing something.
Any ideas what's going, or not going, on here?
I'm using Delphi 7 with RB 9.01
Thanks and regards,
Bruce.
I've got a report that lists transactions, all works just fine.
In the transaction line that prints I have a variable and I use the
variable's OnCalc event to add the variable's value to a total.
After a page break the first transaction line's value is not adding to the
total. The first line on each new page is skipped.
I thought the trick was to use the OnCalc to avoid this sort of thing, but I
must be missing something.
Any ideas what's going, or not going, on here?
I'm using Delphi 7 with RB 9.01
Thanks and regards,
Bruce.
This discussion has been closed.
Comments
Contact info@digital-metaphors.com about getting an update to the latest
release RB 9.02. We have a patch available for RB 9.02 that is related to
calculations.It contains a fix for cases in which a main report Variable is
incremented from a subreport. I will email you this patch. If you still have
an issue after updating and applying the patch, then we will need you to
submit a simple test case.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
The update and patch fixed the issue.
Regards,
Bruce.