AnsweredAssumed Answered

Passing Field Name to GetNthRecord

Question asked by jsorge on Jul 15, 2013
Latest reply on Jul 15, 2013 by jsorge

I'm trying to create a calculation using GetNthRecord, and passing it a calculated field name. The problem is that it doesn't seem to like the field name that I'm passing it. Here's what I'm doing:

 

Let ( [

 

_idField = GetLayoutObjectAttribute ( "id" ; "source" )

 

] ;

 

GetNthRecord ( _idField ; ( Get ( RecordNumber ) + 1 ) )

 

)

 

 

 

What gets returned instead (after an error 102) is the name of the field that it found in the LayoutObjectAttribute function. According to the documentation, the GetNthRecord function should be able to have a field name passed to it, which is exactly what's happening. I'm on 12.0.4 on OS X 10.8.4. Hopefully someone here has figured this out. Thanks!

jared

Outcomes