Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Corrupt DBF tables in VFP 6.0
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00416824
Message ID:
00418979
Vues:
39
Hi!

FLUSH guarantee write all data from buffers to disk (even in network), so the risk you will lose data during crash is minimal, but still exist.
I had such problem even without crash. 2-3 times at month I get the same report from client that table was corrupted. And still the same problem - corrupted header (that does not allow to add new records in run-time). The most interesting thing is that they say that no any crash occurred. So this is not a crash problem. This is something internal in communication across local network between VFP and files on file server.

>>Right, I know this. I was hoping for something preventative...:)
>>
>>>>This is a real problem. I posted this issue a long time ago, see thread #236192. Never did get a solution, I ended up having to write a stored
>database procedure to trap when the error occurred.
>
>Eric,
> I believe that the error happens during a PC or network crash while writting. I keep log files of when a user logs into the system and out. If they don't log out before they log in it is flagged. My logs show that the errors happened about the time a users PC crashed. I'm not sure what you can do for this except go to back office which I will never do because of the slow perfomance and excessive cost relitive to the size of the businesses that I deal with. Namely 2-10 station networks in auto body shops.
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform