Home Subreports

Sub Reports Only Have 1 Record

edited November 2005 in Subreports
Hello

I am getting a strange problem with my sub reports

Day Level Subreport
1 Record Per Day
Bands Sub Report
4 Records Per Day
Band Sub Report
12 Records

When I look at my report the day level report only contains 1 record even
though when I look at the pipeline there are 30 records

Likewise the bands subreport only contains 1 record where I was expecting 4

Has anyone encountered this?

Cheers

Paul

Comments

  • edited November 2005

    A report/childreport that is not connected to a datapipeline will by default
    generate one detail band and stop.

    Check that the subreport DataPipeline property is assigned.

    If it is assigned, then my next guess is that you have a data linking issue.




    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited November 2005
    The pipeline for the daylevel subreport has a field called dayid as does the
    pipeline for my bands sub report

    I have verified that the fields are being populated correctly

    I have no idea where to go from here!

    I have sent a screen shot and the template in a zip

    I am trying to build up the links again at runtime - as my reports are all
    created on the fly

  • edited November 2005
    The 1 record that is being displayed is correct, does this help?

  • edited November 2005

    Each data-aware control (DBText) can be connected to a datapipeline. The
    data-aware control displays a datafield value from the current record.

    Each report/childreport traverses the datapipeline to which it is attached.

    Typically if the first records is being displayed, then the data-aware
    controls are connected to a the pipeline, but the childreport is not. (In
    other words, there is not traversal taking place).





    Best regards,

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