Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
&This.MyProperty doesn't work
Message
From
23/10/2000 10:05:53
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00432793
Message ID:
00432855
Views:
16
>Why This code doesn't work? FoxPro gaves an error.
>
>In the Form I have a property:
> .MyProperty="customers" &&Table Name
>
>In a control InterActiveChange Event:
> Private lcValue
> lcValue=&ThisForm.MyProperty..firstname
>


Vin and Ed explained why it doesn't work. I wanted to show a preferred alternative:

oForm = EVAL(THISFORM.MyProperty)
lcValue = oForm.FirstName
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform