9 Replies Latest reply on Jul 29, 2016 8:36 AM by DavidJondreau

    GetField ( ) or Evaluate ( )?

    Mike_Mitchell

      I've seen some discussion regarding how to fetch the value of an abstracted field. Two methods spring to mind. Assuming variables are set for $tableName and $fieldName, we have either:

       

      GetField ( $tableName & "::" & $fieldName )

       

      Evaluate ( $tableName & "::" & $fieldName )

       

      So, I'd like to solicit opinions from the community. I tend to use Evaluate, but some folks insist GetField is a better way. What is your opinion? And why?

       

      Mike