Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update SQL
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00811836
Message ID:
00812037
Views:
23
Sergey,

Thanks for the catch. I had view requery on my mind yesterday, that's what I get for answering questions before my first glass of OJ. *g*

>Your's workaround is correct but you're mistaken about the cause of the problem. The SQL command excuted in a method of the form/class runs in the context of this method and can access properties of the form/class. It's a bug in UPDATE command that property referenced in SET on the right side of "=" sign generates an error. Run following code and click on Command1 button to see that the first two SQL commands have no problem referencing form properties.
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