Referencing a variable has the same name as active field
A tough one this one.
I have set a layout up so that on load, all fields' content on that layout are loaded into variables. These variables bear the same name as the corresponding field name.
I now need to work backwards.
Can anyone think of a way to reference the corresponding variable using the active field name?
e.g Get (ActiveFieldName) = Field1
I need to reference $$Field1
Thanks in advance