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

Problems with Master/Detail relationship

edited October 2001 in General
My report seems to be generating an endless supply of pages. I have two
pipelines. Orders and OrderDetail. The Orders Pipeline.RangeBegin is set to
rbCurrentRecord and the RangeEnd is set also set to rbCurrentRecord. The
OrderDetail Pipline is set to rbFirstRecord and rbLastRecord. The actual
tables have a master detail relationship and I've tryed doing it via the
pipelines as well. I am at a loss as to what the problem is. Any ideas? TIA

Environment:

Delphi 6 Enterprise
Rebuilder Enterprise 6.02
DBISAM 3.03 Client Server.

--
regards,



AJ Marknette
Software Developer
jmarknette@islandbeachcompany.com

Comments

  • edited October 2001
    There is a techtip newsgroup article on troubleshooting endless pages in the
    general thread.

    You could test the master detail records by placing two dbGrids on the form
    connected to your datasources. When you click on the master grid at
    runtime, the detail grid should show the detail records. Make sure your
    main report is connected to the master datapipeline and that the subreport
    is connected to the detail datapipeline.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.