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

Records disappear on page change

edited March 2004 in General
Hello,

I'm using RB7.02 - Delphi 5. I have a report built of several (runtime
created) subsequent subreports, all set with their ShiftRelativeTo
properties to the previous subreport. Sometimes it happens that several
records in a subreport or the entire subreport disappears (in the preview
and the print-out) when that data is supposed to appear at the end or the
beginning of a page (I also have a header). So it seems that when there's a
page change, sometimes data disappears. There is no consistent behavior, it
is influenced by the amount of data that appears in the report and by the
printer driver. Several of our customers have encountered this problem with
several kinds reports.

I have also tried RB7.03 but the problem persists. Is this a known problem
or could anyone help me out?

Thanks,

Andy Thevelein

Comments

  • edited March 2004

    This is not a known issue.

    1. As a test try commenting out all event-handler code associated with the
    report/childreports. Make sure that you do not have any code that
    manipulates the datasets in any manner while the report is executing. This
    can cause the report engine to get lost.

    2. Try building a test report using the report designer and see whether you
    can duplicate the behavior. ?Build the report incrementally, getting each
    small piece to work at a time. Perhaps when you create the report
    programmatically something is not configured properly.

    3. If you would like to create a simple, minimal example report using
    ReportBuidler, standard Delphi components and the DBDemos data, you can
    email it to support@digital-metaphors.com and we can check it out here.



    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.