EVAL() is really your best choice for Objects, though not for tables as you used in your example.
loObject1=EVAL(somestring) loObject2=EVAL(someotherstring)
Do Something With loObject1, loObject2
Eval evaluates the string's value, where & dynamically recompiles the entire line of code with string substitution of whatever follows the &. Each has their place.
NB: And "where" is a poor choice of keywords for a variable ;)
On Thu, Feb 15, 2018 at 2:42 PM, Gene Wirchenko genew@telus.net wrote:
At 11:07 2018-02-15, Jean MAURICE jsm.maurice@wanadoo.fr wrote:
Hi Gene,
have you tried
WITH (m.reference) .referredto = etc ENDWITH
?
The WITH gives a datatype mismatch error. At any rate, I want to avoid WITH, because, 1) it gets messy forcomplicated statements and 2) I might need more than one different reference variable.
Sincerely,
Gene Wirchenko
[excessive quoting removed by server]