Hi Gene: To talk with an example, if you have this:
oObj = createobject("custom") reference = "oObj" The you have at least 3 options: 1) The way you know => &reference..referredto 2) Using evaluate => =Evaluate(reference + ".referredto") 3) My preferred: Caching the object and then using it: oRef = Evaluate(reference) ? oRef.refered1 ? oRef.refered2 ... 2018-02-15 19:51 GMT+01:00 Gene Wirchenko <ge...@telus.net>: > Dear Foxers: > > I sometimes have a "reference" to an object that is in the form of a > string variable. I have used > &reference..referredto > > Is there a better way of doing this? > > (reference).referredto > would be nice, but it does not compile. > > Sincerely, > > Gene Wirchenko > > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com 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/CAGQ_JukotJHyYsJ5OtmJ8jSiO3jGOMZ=w+9u8ewny64vx5c...@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.