Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AFIELDS() array not properly added by AddProperty
Message
From
02/03/2000 17:49:13
 
 
To
02/03/2000 13:46:04
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00340727
Message ID:
00340893
Views:
31
>How can I add the resulting array of AFIELDS() as a property of an object during runtime?

Your code doesn't work cuz you never polplate the property, it doesn't matter if a variable with the same name exists.

Try this:

Thisform.AddProp('MyAliasArray[1]')
afields(thisform.myAliasArray,'myTable')
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform