Search code examples
groupingcrystal-reports-2008crystal-reports-2010

Crystal Report: Data in header fields not same as data further down page


I'm writing a crystal report that needs to display data, in groups, with a header at the top of the page denoting what groups am looking at. The header needs to appear on every page. When I put the group name fields in the detail section, they show the correct grouping titles, but they do not persist when I scroll through the pages. When I put the group name fields in the header section of the report, they are correct for the first group of data but when I scroll through to the next group of data, the group name fields don't update until the second page of data in the new group. I'm at my wits end with the thing. I do not know much about crystal reports and I haven't been able to find any information even slightly pertaining to the issue I am seeing. Any advice would be appreciated. Cheers DrJaul

EDIT:Thanks for the suggestion, Amagii! The header fields in the Group header section still disappear if there is enough data to take up multiple pages and the header fields in the page header section still update as though they are one page behind. Though this did keep the header fields in the Page header section from getting more than one group behind. If i can just figure out how to get data fields in the page header section to represent the data on the current page, ill be golden.


Solution

  • In your grouping, look for a setting to have it start a new page per group. That way it will start a new page with a new GROUP HEADER that you can have list off all the pertinent information.