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

Records disappear in Master/Detail report

edited December 2003 in General
I am using Delphi 7 with RB 7.03. I have a Master/Detail relationship using
Advantage Database Tables.

The report was functioning fine previously, but as I added more data, then
the report started behaving weirdly. If you set the report to OnePass then
it shows all detail records, but when you print then it removes all but 2 of
the detail records. If I set it to TwoPass then it also runs through the
report until it gets to the end, and then it removes all but 2 of the
records. So in the beginning you can see the records, but then they just
disappear.

Any ideas why? What happens at the end that could cause this?

Thanks,

Douglas

Comments

  • edited December 2003
    I sent a sample project to the support email. Just so you know, it does
    this in the preview window of the editor, so it has nothing to do with any
    of my code. My sample that I sent has no extra code and it still does it.

  • edited December 2003
    Hi Douglas,

    I'm sorry but we did not receive your email. If you would like to send it
    again, I would be more than happy to take a look at it for you.
    (support@digital-metaphors.com) The most common reason for this type of
    behavior is that the report engine is becoming lost due to some data
    processing or event handler code being executed during report generation.
    As a quick test, try disconnecting all your event handlers and try the
    report again. If this cures the problem, periodically begin adding your
    events back into your code to perhaps isolate the problem.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2003
    Like you will see in my sample, no event handlers are in the sample and it
    still does it. I resent the sample application just barely, hopefully you
    get it this time, under a different email address.

    Douglas Tietjen

  • edited December 2003

    For anyone else reading this thread, the issue was related to master/detail
    data configuration.

    ReportBuilder supports two different types of data linking: Delphi TDataSet
    linking and RB DataPipeline linking. These type of linking are mutually
    exclusive - use one or the other, but not both.


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

    Best regards,

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