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

On calc firing multiple times per record?

edited December 2008 in General
?I have a report with a group that I "keep together". I put a show message in the report for
diagnostic purposes. The 2 records from one group fires the event oncalc twice before the end of
the page. (I guess it figures out that it won't fit on the page so doesn't print it) and twice again
when calculating the next page. I'm viewing the report (to screen) so I know the order that things
are happening in. I tried this in a hidden variable field and on a dbcalc field (both in ongettext and
oncalc) with the same results. So how do I do this? I running a function that calculates a value
and I'm sure the function is looking at the correct record. This shouldn't be rocket science.
Thanks.



--- posted by geoForum on http://delphi.newswhat.com

Comments

This discussion has been closed.