Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Current Datasession settings
Message
 
 
À
18/04/2000 08:53:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00360780
Message ID:
00360842
Vues:
16
>>>Which method is the best to write the settings for each datasession?
>>>Activate,Init,Load...?
>>>Thanks.
>>
>>Load. This is the only form method that fires early enough. ANd if you want them to be set before the tables open, you will have to set DataEnvironment.AutoOpenTables = .F., and change your settings, and call OpenTables() yourself.
>Thanks Erik.

Just as an add-on, you could put the settings in the Dataenvironment.BeforeOpenTables and leave AutoOpenTables set to .T.. This event fires before the form's Load event.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform