Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Usage of Flush and Tableupdates?
Message
 
To
22/09/2006 02:35:05
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01156290
Message ID:
01156314
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform