I've created a batch report and would like to have each new page begin with my header. I can count each line as I process it, and generate a new header for every 36 lines; the problem with this approach is that some lines will actually take 2 lines - ie, word wrap. At the present time I can even determine which lines will wrap, but I'm not thinking "present time", I'm thinking "future" when new products may be added and no one is available to "fix" the program.
There must be an easier way than counting lines to determine when a new header must be printed. Any suggestions?
gracias