Report Header Data - Help!

Posted by: avastone on 4 August 2017, 2:31 pm EST

  • Posted 4 August 2017, 2:31 pm EST

    Hi All,

    I have a batch of data being sent to a report in an invoice style report format.  The data is broken out by a District# to determine the report break. 

    District#123 has 45 records of detail info which then spans across 3 pages.  The first two pages show the District ast #123, but the third page when it only has one record of detail or just the detail section footer (the invoice total), the header thinks it should move to the next District, #124.

    If I extend the number of records so the third page has 3+ detail lines, the report will show the District #123...correctly.

    How do I get the report to recognize I haven't changed to a new header record?

    Any suggestions would be great!
    Thanks
  • Replied 4 August 2017, 2:31 pm EST

    It sounds like you're accessing the controls in the FetchData event or accessing the datasource in the Format events. This can cause the data to become un-synchronized. We recommend only accessing the Fields collection in the FetchData event and accessing the controls in the Format event. In your case, it sounds like you're accessing the data control in the groupheader format event after it's already been advanced by the report.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels