Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Flush why not flush?
Message
From
04/02/2003 14:17:44
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
To
03/02/2003 23:37:01
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00748117
Message ID:
00748999
Views:
37
>It opens a handle to any file, including a DBF, then calls FlushFileBuffers on that file. That writes all unsaved data in that file to disk, not just data that were written via this low-level file handle. So, for example, if you just did a TABLEUPDATE() on Customers.DBF, you'd use Mr. Moody's code to open Customers.dbf with another filehandle and flush the data to disk. You'd also need to use it on Customers.FPT and Customers.CDX. Cumbersome, perhaps, but very effective.

Thank you for the clarification, Tom.

I will reevaluate this function in light of the above.

The documentation for this function is pretty vague on this point, simply referring to "the file". Is this specific information documented somewhere ?
Previous
Reply
Map
View

Click here to load this message in the networking platform