AnsweredAssumed Answered

Dynamic table & field name within a Variable

Question asked by jbryan on Mar 30, 2017
Latest reply on Mar 31, 2017 by philmodjunk

I want to create a variable (that will be passed as a parameter) of the contents of a field but the name is dynamic based on context.

 

I've tried both of these but neither pass the contents of the field as a parameter. Instead, I just get a "?".

Set Variable [ $Detail ; GetField ( Get ( ActiveFieldTableName ) & "::" & Get ( ActiveFieldName ) ) ]

Set Variable [ $Detail ; GetField ( GetFieldName (Get ( ActiveFieldTableName ) & "::" & Get ( ActiveFieldName ) ) ) ]

Outcomes