Posted 4 August 2017, 2:31 pm ESTHi All,<br /><br />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. <br /><br />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.<br /><br />If I extend the number of records so the third page has 3+ detail lines, the report will show the District #123...correctly.<br /><br />How do I get the report to recognize I haven't changed to a new header record?<br /><br />Any suggestions would be great!<br />Thanks
Report Header Data - Help!
Posted by: avastone on 4 August 2017, 2:31 pm EST
Replied 4 August 2017, 2:31 pm ESTIt 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. <br />