I have run into an issue getting the group header to display the way I need it to. Here is my scenario: In my subreport, I have a detail section, which is where the repeating records display. I have a group header that I need to display under 2 different circumstances - (1) if a certain field value in my detail section changes and (2) at the top of all subsequent pages while the detail records are printing.
I have #1 working - Where I bind the data to my view model, I check to see if the field value changed from the last record. I then send in a true or false flag to the constructor of the subreport and set headerSection1.Visible = true. Problem is, this seems to override the GroupHeaderSection1's PrintOnEveryPage property that I have set to true. We really need that group header to display at the top of each page, as well as each time a specific field value changes.
I have #1 working - Where I bind the data to my view model, I check to see if the field value changed from the last record. I then send in a true or false flag to the constructor of the subreport and set headerSection1.Visible = true. Problem is, this seems to override the GroupHeaderSection1's PrintOnEveryPage property that I have set to true. We really need that group header to display at the top of each page, as well as each time a specific field value changes.