Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
&This.MyProperty doesn't work
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00432793
Message ID:
00432800
Views:
18
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Hi Francisko. I wish I could tell you "why," in the form of a low-level explanation, but at least I can reassure you that you are not crazy! You cannot macro-expand properties. Instead, save to a variable and macro-expand.
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform