Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Flush why not flush?
Message
De
04/02/2003 14:17:44
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
À
03/02/2003 23:37:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00748117
Message ID:
00748999
Vues:
38
>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 ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform