I had no idea this "simple" question would generate so many responses :-)
To answer the person why I first get the object reference:
I look through the collection first testing for a match on the object name - it may or may not exist in the collection. I *could* try instead to EVAL() against the collection using TRY/CATCH but that seems kinda clunky (though possibly faster, although the collection in this case is typically small). e.g.
TRY
STORE EVAL("THIS.ioCollection." + tcObjectName ) TO loSavedObject
CATCH
STORE .NULL. TO loSavedObject
ENDTRY
And this seemed to work just fine so let's go with that:
><pre>
>STORE m.tuValue TO EVAL("m.oSavedObject." + m.tcProperty)
>
>
>Of course, it's easier to just pass the object in the first place.
>
>Tamar
Thanks all!