If I recall correctly:
- GetLayoutObjectAttribute( <ID>, "source" ) will be returning a string value.
- GetNthRecord expects an argument of a field reference.
As such, I believe you'll have success if you modify your calc to something like:
Let ( [
_idField = GetLayoutObjectAttribute ( "id" ; "source" )
GetNthRecord ( GetField( _idField ) ; ( Get ( RecordNumber ) + 1 ) )
Simply wrap the returned field name in the GetField function.
HTH and best,
That did it, Steve. Thanks!
I didn't even try that becaue I expect it to return the contents of the field, which I didn't think GetNthRecord was looking for. It was looking for a field name. Crazy docs.
Thanks again for your help!!