Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddProperty vs AddProp: Best way to solve this questio
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00622271
Message ID:
00622354
Views:
33
Mark,

If you know ahead of time what additional properties you want to add you can do something like this:
select *, Additional1, Additional2 ;
   from TheRealSource ;
   into cursor __junk 
scatter memo name oRec
>I need to add properties to dynamically created "named" objects, such as a named record object created by the SCATTER command...
>for example: SCATTER MEMO NAME oRec
>
>Although oRec is an object reference, it does not have an AddProperty method.
>
>Ken Levy released the AddProp FLL, last modified I think in 1996 for VFP5. It does exactly what I need it to do. Seems to work with VFP6. But I don't know its long-term viability as VFP evolves.
>
>Is there an "official" way to add properties to objects that DON'T have an AddProperty method?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform