Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent corrupting tables
Message
From
26/10/2001 02:59:35
 
 
To
25/10/2001 16:55:00
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00573404
Message ID:
00573527
Views:
20
>I now responsible for an existing multi-user VFP application (currently VFP 5, willing to use newer versions). Tables are on a server (Novel).
>It opens all the tables when the application starts (a hold over from original FPW opplication), it uses private data sessions for data entry forms. Recent a user crashed and I think this currupted a few tables but adding an empty record which caused the part of creates the keys to restart at 1 and thus create duplicate records. I was able to fix this by deleting bad records, but this may have caused some counts in other tables to be bad.
>
>I do not want to be in the table repair bussiness and thus would like to avoid situations like this. Any suggestions appreciated.
>
>One thought I had to minimize potentail bad records is NOT open the tables when application starts but only when data is being added or updated. Is this a viable approach?
>
>What is the overhead?
>How do I code this efficiently?
>
>FWIW it uses SDT.

Novell issues: http://fox.wikis.com/wc.dll?Wiki~NovellVFPIssues~VFP

CDX corruption issues: http://fox.wikis.com/wc.dll?Wiki~CDXCorruptionChecklist~VFP
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform