How to get reference to the first body row on page in a long table?
Dear forum,
I have a long table which is threaded among several text frames (pages). I want to get the reference to the first body row in each frame so that to check if it contains a product name. (I can do this by checking if all the cells in the row have been merged.)

Since a table looks like a single character for script, I don’t see a straightforward way to achieve my goal.
So far, I solved it in a sloppy way: I check the baseline of the 1st insertion point of the 1st cell in the row.
else if (RoundString(row.cells[0].insertionPoints[0].baseline, 1) == firstRowBaseline && mainRow != null) {
Is there a more elegant solution?
Thank you in advance!
Regards,
Kasyan
