Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect corrupt FoxUser.dbf?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to detect corrupt FoxUser.dbf?
Miscellaneous
Thread ID:
00831092
Message ID:
00831092
Views:
73
Is there a way in an applications startup procedure to "gracefully" detect if the FoxUser.dbf/fpt is corrupt?
Am working with vfp 7.1 & Win XP Home.
Would like to add logic at startup time so that if the FoxUser.dbf/fpt is corrupt would delete the table & let the system create a new Foxuser.dbf/fpt.
One additional wrinkle is that I change the name of each FoxUser.dbf/fpt to a unique name for that app to avoid conflicts with other fp apps that may be on the same pc. Therefore, after letting the system re-create the FoxUser.dbf/fpt I would need the code to rename that table to the name I'm using for that app.
All help appreciated.
Bill Wright
Next
Reply
Map
View

Click here to load this message in the networking platform