Have experience corruption of a dbf file? Im just puzzled that some table
have a tendency to become corrupted frequently particulary those are access
regularly some that are seldom access are ok.
However, everytime, I experience corruption, I can repair it but I want to
understand what could be the possible reason why such situation can happen?
Do you think it has to do with many users accessing the same table at the
same time?
or do you think it has to do with hardware?
Today, most often linking different tables is quite common method to get a
certain data but that is normal? But it the table should get damaged?
I have three table that are regularly use, biodata.dbf, book.dbf and
contracts.dbf. Biodata contains the name of our clients and book contains
the detail transactions while contracts.dbf is containing the detail of the
contracts and the three are link with client_id among the common field.
but so far, I observed that contracts.dbf most often got corrupted. when it
is corrupted the encoder cannot add new record. This is frequent happening.
Any idea?
/patrick
I'd say DBF corruption may happen when FoxPro is getting interrupted
during a write attempt.
So the causes can be failing hardware/drivers/network/power supply.
And 3rd party tools being hooked into Windows file operation events,
like AntiVirus tools, for instance. And third, probably lees likely, would
be "plug-pulling" users.
So while good practice might include using data buffering and keep
TableUpdate() attempts / Transactions as short as possible, if corruption
occurs frequently in a given environment, the only way to actually solve
the issue would be outside VFP.
hth
-Stefan
--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------
I can see that it is a deep problem technically:-)
Thanks a lot.
Patrick Tura
"Stefan Wuebbe" <stefan...@gmx.de> wrote in message
news:O7CX3DtA...@TK2MSFTNGP02.phx.gbl...
You are welcome :-)
Can you track down what the cause(s) might be, e.g. power supply
failures, unreliable file server or network devices, or so?
Regards
-Stefan
--
Craig Berntson
Microsoft MVP
-------------
"Patrick Tura" <pat...@kff.ph> wrote in message
news:8477D389-5B61-4C0F...@microsoft.com...
Patrick Tura
"Stefan Wuebbe" <stefan...@gmx.de> wrote in message
news:ecKVn34A...@TK2MSFTNGP02.phx.gbl...
Thanks a lot for your tips, they are very helpful to me.
I need to probably trace down the hardware thing as you have suggested.
We will see what I will find out.
Thank You.
Patrick Tura
"Craig Berntson" <cr...@craigberntson.com> wrote in message
news:D8740F77-A931-40E8...@microsoft.com...