Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Usage of Flush and Tableupdates?
Message
 
À
22/09/2006 02:35:05
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01156290
Message ID:
01156314
Vues:
17
From Help for FLUSH:
"You can use FLUSH to explicitly save to disk all changes that you make to all open tables and indexes. You can also save changes to a specific table by specifying a work area, table alias, or path and name of a currently opened file.

If you do not specify nWorkArea, cTableAlias, or cFileSpec, FLUSH applies to all open tables and indexes in the current data session.
"

From Help for TABLEUPDATE:
"Commits changes made to a buffered row, a buffered table, cursor, or cursor adapter.

If you issue TABLEUPDATE( ) and row or table buffering is not enabled, Visual FoxPro generates an error message. However, TABLEUPDATE( ) can still commit changes to a table or cursor that has validation rules.
"

So, as You can see these commands are used for the different goals.

WBR, Juri
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform