Passing a field reference as a script parameter
I am trying to pass a reference to a field as a script parameter in the format field::table. I have set a local variable $field to hold this field reference. The problem is when I try to use the variable $field in my script, the field reference is being treated as a string. This is not the case when using set field by name - but that expects a string to be entered as the target field and all works fine.
What function do I use to set the $field variable to hold the value of the field and not the reference string?
Thanks in advance