Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why cannot use & with Thisform.SomeProperty
Message
 
 
To
06/05/2009 10:47:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01397844
Message ID:
01398150
Views:
83
>>Greg,
>>
>>Sorry to disappoint you, but in your case you should have been using name expression instead.
>>
>>E.g.
>>
>>replace (lcFiledName) with lcValue in (lcAlias) && this is much better and safer syntax
>
>Actually this is very unsafe syntax. It should be:
>
replace (m.lcFieldName) with m.lcValue in (m.lcAlias) && this is much better and safer syntax
>to be safe. However, majority use the unsafe way. My .02 cents.
>
>Cetin

Great point, Cetin. I used to always use m. notation, but later had to drop this habit to adhere to other programmers' style.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform