I cannot work out how to do this:
I have data like this (for example)
Report header
Page header
Group 1
Header for group 1
Data line 1
Date line 2
Footer for group 1
Group 1 End
Group 1
Header for group 1
Data line 3
Date line 4
Footer for group 1
Group 1 End
I would like to get that second (and 3rd, 4th etc) groups starting on a new page. For example, when it gets to the end of the first group 1 it finishes off that group (footer etc) and the page footer, then starts a new page with page header, then starts the next group (header, etc).
I've tried to put StartNewPage in various places but it seem to happn too much or not enough.