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

'Random' miscalculation in grouped report

edited December 2003 in General
Delphi 5 Pro, RBPro 5.56

When I run a grouped report on a single dataset, using DBPipeline, using a couple of ppVariables to perform some calculations on the group data, I get an occasional zero, where there should be a positive value. This only appears once in any report, but the position depends on the data that I am using ( for any given dataset the position of the zero is always the same. The non-grouped data below it is fine. I realise this may not make sense without examples, but does anybody have any idea what might be happening?

Best Regards

Will Dutson

Comments

  • edited December 2003
    Hi Will,

    Check the timing of the variables you are using and be sure they are not
    resetting at the wrong time. Also be sure that any code you have executing
    during report generation is not directly affecting the report output. You
    may try disconnecting some event handlers to see if that makes a difference.
    You might also want to try downloading a trial version of ReportBuilder 7.03
    for Delphi 5 and testing with that.

    If you still have no success, please send a small example demonstrating the
    problem in .zip format to support@digital-metaphors.com.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2003
    Thanks Nico

    I changed the Group Reset to from vsGroupStart to vsGroupEnd, this works fine now.

    Will
This discussion has been closed.