Hi S.Y.M. Wong-A-Ton,
Thanks for your reply, I got the script to return the row data (all fields).
Now how do I limit the value to just the first field of the last row? Here
is my script.
var to =
getNodeValue("/my:HWForm/my:ApprovalGroup/my

reApproval/my

reApprovalName[last()]")
/my

reApproval is the repeating table
/my

reApprovalName is the first field of two in the table
:
Try using the last() function in an XPath filter like:
/my:group/my:row[last()]
---
S.Y.M. Wong-A-Ton
:
Anybody have a code script to select the LAST node value of a repeating
table? I have code to select the FIRST, or all of the nodes.
Thanks!!