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 <[email protected]> wrote: > At 11:07 2018-02-15, Jean MAURICE <[email protected]> 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 for > complicated statements and 2) I might need more than one different reference > variable. > > Sincerely, > > Gene Wirchenko > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CACW6n4vSpShyYyMBqiDNf76uGN=cpmez-aidk+7ggl_qyan...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

