I am using a detail table to pull a variable number of forms, which contain a variable number of pages. I want to apply a footer to all the pages using additional fields from the detail table for each form.
For example: If I have 3 forms totaling 8 pages, the content from the first record in the detail table is what is being applied to the footer when I just use the Master Page and a standard script pointing to the detail table field. I have also tried looping through the records, but I end up with all 3 records detail information on every single page, which it is not splitting.
I need form 1 (pages 1-3) to have footer information for detail record 1, form 2 (page 4) to have footer information for detail record 2 and form 3 (pages 5-8) to have footer information for detail record 3.