Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET DELETED ON and SQL Select
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01456091
Message ID:
01456242
Views:
34
>But that wasn't what I meant. I don't think altering settings in a form's Load is a good idea, at least not without saving and resetting the old value. Doesn't really belong in a form method, either, more like the app level.

Form's Load (or DE BeforeOpenTables) is the place to set data session specific settings. So, in our BaseForm class we have all the sets command (or it could be a separate class with all the settings, which you instantiate). This way it will restore the defaults when form is closed, though may be unnecessary for forms using private DS.
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