Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET DELETED ON and SQL Select
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01456091
Message ID:
01456247
Vues:
35
>>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.

What can I say? I don't agree. IMO those kind of settings are at the app level, not the form level. Both work, of course, it's just a question of style and approach.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform