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

OnCalc timing Issue using Traversal on Detail

edited August 2007 in RAP
I report running with one group running a commission report. The issue is
that the first record of the group is not being calculated to the second
pass and hence not being included into the group total.

Comments

  • edited August 2007
    Hi Richard,

    For future reference please begin a post by stating the version of
    ReportBuilder and Delphi that you are using.

    I'm a bit unclear about the design of your report. Does this calculate
    correctly if your report is set to OnePass? Are you certain the OnCalc
    event is not firing for the first record? Try placing a ShowMessage command
    inside the OnCalc event to be sure. Have you successfully had this working
    in Delphi rather than RAP?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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

    Sorry should have been a lot clearer. Looking back that was an awful post.
    The version I'm currently running is 10.04. The report will not calculate
    correctly if you set the pass to one time. I put the a showmessage into the
    OnCalc to only fire for the first record that appears in the group. The
    showmessage did appear, but the calculated value still showed as $0.00 and
    the group total still did not include the first records (or what should be)
    calculated total. The current timing is set to be start on Traversal and
    reset on Traversal. I have not tried it in Delphi nor have that option.


  • edited August 2007
    Hi Richard,


    Which version of Delphi are you using? Are you using a registered copy of
    ReportBuilder or an application with RB built-in?

    I would first recommend upgrading your version of ReportBuilder to the
    latest (10.06) and see if that helps. If not, please send a small example I
    can run on my machine that demonstrates the behavior 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
  • edited August 2007
    Application with RB built-in and registred user. I'll try the latest version
    and see if that helps.

  • edited September 2007
    I sent a copy of the report to support email.


  • edited September 2007
    Hi Richard,

    I'm sorry, for some reason you did not receive my first email. I just
    re-sent the email. Let me know if you get it.

    --
    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.