Skip to Content
Former Member
Jun 16, 2007 at 07:17 PM

How to use script to get the first table row on each page?


I create a print form to display a table. I set a conditional page break on this table, so the table rows on each page could be different.

For example, there're total 50 rows in this table. On the 1st page, there're 5 rows, but on the 2nd page, there're only 2 rows, and so on...

Now I want to get some value from the 1st table row on each page. How can do that? I can refer to a table row using TableRow[n], but I don't know how to calculate 'n' in script (either FormCalc or JavaScript) for the 1st row on each page.

Any ideas?