6 Replies Latest reply on Mar 31, 2017 9:58 AM by philmodjunk

    Dynamic table & field name within a Variable

    jbryan

      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 ) ) ) ]