calculate value of field from previous record value...
I have a report where I print value on footer band, detail is not visible.
Ome field into footer have to be calculated on previous detail field...
Here a detailed sample
band Field1 Field2
--------------------------------------------
detail A B
detail H G
detail B E
detail F C
detail C A
detail B T
footer ......
Field have to be
A if there is a A
B if there is a B
C if there is a C
and so on...
How can I do it? I have to calculate with a conditioning on previuos
record...
Codebue Fabio
P-Soft
Ome field into footer have to be calculated on previous detail field...
Here a detailed sample
band Field1 Field2
--------------------------------------------
detail A B
detail H G
detail B E
detail F C
detail C A
detail B T
footer ......
Field have to be
A if there is a A
B if there is a B
C if there is a C
and so on...
How can I do it? I have to calculate with a conditioning on previuos
record...
Codebue Fabio
P-Soft
This discussion has been closed.
Comments
On possible solution would be to keep track of the field values for each
page perhaps using a TStringList object. Then before the footer prints,
loop through the values and determine which items get printed.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com