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

Clientdataset display only the first record

edited March 2006 in General
D7 + RB 9.03 Trial

With this situation

Report -> DBPipeline -> DataSource -> ClientDataSet (mybase table
loaded)

the report display only one page with the first record while the are
8 records in the table

If i set DataSource.DataSet to a TTable (BDE) the report display all
records

Why ?

Comments

  • edited March 2006
    Hi Max,

    ReportBuilder simply returns the records it is given. Try connecting your
    datasource to a DBGrid on your form and see if the proper amount of records
    are being returned. If not, there must be something wrong with your dataset
    setup.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2006
    Yes, the grid shows the right number of records, while the reports
    display only the first.

    I started a new project, dropped all the components setting only the
    properties that need.
    The report is simply a blank new report with a ppDBText on the header
    band

    If i place the ppDBText on the detail band all records are shown

    This behaviour is different than that of the bde table, where all
    records are display also if the ppDBText in is the header, printing
    one page for record.



  • edited March 2006
    Max,

    Sorry, I did not know you were placing the DBText in the header band. You
    will notice that when you do this, you are not getting each new record for
    each page, it is skipping a page of records (with the BDE dataset). If you
    would like a single record per page, you will need to use a group header or
    place a TppPageBreak component inside the detail band.

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