Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to save a record
Message
De
25/09/1997 15:16:39
 
 
À
25/09/1997 12:09:28
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00051462
Message ID:
00051640
Vues:
40
>>You can do that visually.
>>
>>Just use the data environment and add your tables in it. Then, from each table properties, you can set the buffering.
>
>FWIW, in almost all cases I use optimistic row buffering, so in my base form classes' load method, I loop through my DE's cursors and set the buffering automatically to 3 (the DE doesn't auto open its tables), skipping ones that are set to anything other than 1 ("use form setting"). Then I open the tables. This been working really well for me--it's easier to remember to set autoopen .f. than all the cursor's buffering! It slows down my form load though...

Yes, this is what I have as well except that I go with 5. But, again it depends on each application needs. Some of them may not accept an optimistic but pessimistic. It depends on each application.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform