Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is flush needed?
Message
From
18/03/2003 10:14:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
18/03/2003 02:57:31
Michael Ouellette
Australian Technical Services (VIC) Pty
Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00766903
Message ID:
00767022
Views:
14
>I just lost 30 records I was adding in an application.
>I use row buffering on all tables.
>Ex: =CursorSetProp("buffering",3,"company")
>All tables are opened when the app starts. None are opened in the DE.
>Every new record I added was lost when my laptop locked up and I had to reboot.
>Existing records I changed were ok for some reason??? I had been adding records over a 2 hour period.
>Since this has never happened to me before should I now issue a flush after
>each save?
>This is how I saved records: =Tableupdate(.T.,.T.,"company")
>
>TIA

TableUpdate() by itself will close VFP buffers, but not OS buffers.

So, to answer your question, I think yes, you should use FLUSH regularly. You should also disable write-cache for the hard disk (or is it the OS?).
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform