calculations not correct when skipping to end in preview mode
We use delphi 6 with rb 7.04.
In some reports where I do calculations in group and footer events I
sometimes get incorrect results when in preview mode when skipping to the
end(for the first time). They are simple totals and averages using those
totals for it's calculations, mind you those are not dbcalc components
calculating averages and totals but done using procedures fired upon the
group and footer events.
all works perfect when printing or when in preview just using next page
instead of skip to end. Skipping to the end works ok when the user already
been on the page before.
Do you know what could be the problem. If you need more detailed information
please tell me.
kind regards,
Luc Neville
In some reports where I do calculations in group and footer events I
sometimes get incorrect results when in preview mode when skipping to the
end(for the first time). They are simple totals and averages using those
totals for it's calculations, mind you those are not dbcalc components
calculating averages and totals but done using procedures fired upon the
group and footer events.
all works perfect when printing or when in preview just using next page
instead of skip to end. Skipping to the end works ok when the user already
been on the page before.
Do you know what could be the problem. If you need more detailed information
please tell me.
kind regards,
Luc Neville
This discussion has been closed.
Comments
calculations. The Developers Guide has a tutorial on performing
calculations. Additional examples can be found in the the demo and on
rbWiki. Here is an overview article on rbWiki.
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Calculations/Overview
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com