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

Problems with TppVariable.OnCalc

edited April 2005 in General
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

Comments

  • edited April 2005
    Hi Weverton,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2005
    Hi Nico,

    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

  • edited May 2005
    Hi Weverton,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.