I need to be able to produce document sets of varying page quantities, but with the same first 2 pages (basically, a cover page, a summary page, then several pages of rows of data.)

The challenge I have is that I need the 1st page to display the group code, and then change once a new document is created for the next group, and so on and so forth.

Any help gratefully received