Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I add properties to an object gend by SCATTER NAM
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00943145
Message ID:
00943157
Views:
20
>>How do I add properties to an object created with a SCATTER NAME command? And once I've got them in, do I need to get rid of them before I write back to the table (which doesn't have them).
>>
>You can use AddProperty() function (VFP8 and later).
SCATTER NAME oRec
>AddProperty(oRec, "MyProperty1", "Value For that Property")
The GATHER command will ignore properties that don't match field names.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform