I am trying to programatically generate a table, but the problem is that this table does break across several pages as it contains quite a large amount of information. I would like to set up a system whereby whenever the table experiences a page break, it generates the header row of the column again. Since each row is generated by a loop which retrieves that row's information, outputs it, moves on to the next row, retrieves its information, moves on to the next row... I want to make an if statement at the beginning of each cycle which should say
If previous row is on a different page from current row
generate a table header
End If
Unfortunately, I cannot accomplish this using word pageHeaders because I am already putting information in the headers. Does anyone know a method of accomplishing this or comparing the pages of two rows? Which property would that be in? Any assistance would be greatly appreciated.