I have a single page form that needs to print a certain number of times depending on a database. I created the runpage as the first page with a PPTalk object that basically reads:

-----------------------
define(&i,integer,1)
for(&i,1,1,strtoint(@(2,1,4)))
execpage('OverlayPage')
showpage()
endfor()
-----------------------

The second page is the cover sheet that prints the department name and the number of sets to print from the database. The third page is the overlay page that contains nothing more than a pdf image.

The idea is to print page 3 (OverlayPage) x number of times based on the data. It all works well except the order of the cover sheet. Currently, my form prints the number of times indicated but the cover sheet summarizing the department and the number of set printed prints AFTER the form has printed although the cover sheet is page two rather than the first page. Is there something I can do to have the cover sheet print prior to the form?

- Wanna B. Expert