Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to flush indexes and memo files to disk
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00555505
Message ID:
00555522
Views:
21
There is a FLUSH command in the VFP for that.

>I verified that when Windows falls down (crash system, electric energy turn off, etc.), Visual FoxPro (version 6, Service pack 5) loses indexes and sometimes memo fields files (*.FPT) remain damaged.
>
>I would like to known if there’s a way (i.e. using some procedure written in C++ for FLL user-library) to force VFP to flush (FLUSH command save only data to disk not indexes, that remain in cache) indexes and memo files to disk when I want.
>
>Thank You.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform