Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding object to object with SCATTER
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00943635
Message ID:
00943645
Views:
21
This message has been marked as the solution to the initial question of the thread.
I would do this way. It still two lines but no extra object is created
FUNCTION populate
    THIS.AddProperty('oData', Null)
    SCATTER MEMO NAME THIS.oData
ENDFUNC
>If I want to populate an object property with an object using SCATTER NAME, do I need to do it like this:
>
>
>FUNCTION populate
>  SCATTER MEMO NAME oDataGathered
>  THIS.AddProperty('oData',oDataGathered)
>ENDFUNC
>
>
>Or is there a way to add and populate it at the same time???
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform