I have a repeating table and I would like to copy the content of the 3 last rows into another static table. (The values from the static table will be later imported by another programm).
My problem is that I do not know how I can access to the last row, the last row-1 and the last row-2.
The repeating table has an hidden counter column which counts the rows. I was thinking taking the biggest number in the column (max(counter)) and look for the row where the counter column is set to (max(counter)-1) and (max(counter)-2). Again I do not know how to access to these rows.
Do you have an idea?
Thank you in advance for your help!