Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why 'Thisform can only be used in method' error?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00805151
Message ID:
00805552
Views:
31
John,

FWIW, I decided early on that I wasn't going to use the RowSource property for SQL, I despise editing SQL commands in a one line display on the property sheet and making sure I didn't have to worry about the 254 property size limit. I added a SQL() abstract method to my cbo and lst subclasses.

>Thanks, David. It would seem to be a cardinal rule that if one is going to run SQL from within an object, that the code should be preferably wrapped in a method of that object.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform