LookAhead Property on DBCalc value used to count
I have a report that groups records by ColumnA in order to find out how
many duplicates there are.
I then added a DBCalc variable to the Group Header which counts the
number of occurrances of ColumnA that will be printed. If I use the
LookAhead property, that value is correct.
I would like to be able to reference that DBCalc value when printing to
determine whether or not to print a record or not but the value then is
the value of the record I am reading.
How do I refer to it and on which event?
--- posted by geoForum on http://www.newswhat.com
many duplicates there are.
I then added a DBCalc variable to the Group Header which counts the
number of occurrances of ColumnA that will be printed. If I use the
LookAhead property, that value is correct.
I would like to be able to reference that DBCalc value when printing to
determine whether or not to print a record or not but the value then is
the value of the record I am reading.
How do I refer to it and on which event?
--- posted by geoForum on http://www.newswhat.com
This discussion has been closed.
Comments
Take a look at the following article.
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Calculations/How_To...Use_a_Look_Ahead_Value_in_a_Calculation
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com