Problems with TppVariable.OnCalc
Hi,
I'm using a TppVariable in the FooterBand to sum a value of a field
page-to-page. The CalcType property is set to veTransversal, LookAhed is set
to False and PassSetting is set to psOnePass. DetailBand has a TppGroup with
KeepTogether set to True. The problem is that in determined page the
TppVariable sums the value of a record that is on next page. I'm using RB
9.02.
Thanks,
Weverton Gomes
I'm using a TppVariable in the FooterBand to sum a value of a field
page-to-page. The CalcType property is set to veTransversal, LookAhed is set
to False and PassSetting is set to psOnePass. DetailBand has a TppGroup with
KeepTogether set to True. The problem is that in determined page the
TppVariable sums the value of a record that is on next page. I'm using RB
9.02.
Thanks,
Weverton Gomes
This discussion has been closed.
Comments
Where are you making the calculation to sum the value of the field? This
should be done inside the OnCalc event of another TppVariable located inside
the Detail band. The calc timing settings of the variable inside the footer
should not matter.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I made what you suggested and the problem was not solved. What more can I
do?? I'm needing of this urgently.
Thanks
Weverton Gomes
If the patch does not solve the problem, please send a small example of the
issue in .zip format to support@digital-metaphors.com and I'll take a look
at it for you.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com