Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Flush = .T.
Message
De
01/09/2008 09:33:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01343699
Message ID:
01343779
Vues:
21
>Can I retrieve if flush operation was sucessful ?
>
>Some system variable that returns .F. if the operation fails ?

I think there is no reason for it to fail; however, if I understand correctly, the problem is that FLUSH (without additional parameters) empties only Visual FoxPro buffers, leaving OS-buffers and disk-write-buffers "intact". For the disk part, I think you must turn off write-cache for the hard disk - I am not sure about the details right now. That must be somewhere in the hard-disk properties. Of course, that would make your entire system slower. For the Windows part, I guess that is solved in VFP 9, with the new parameters for FLUSH.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform