Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find which table is corrupted in any database
Message
 
 
To
19/07/2004 23:39:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00926008
Message ID:
00926010
Views:
18
>Dear Sir,
>
>I have a dbc entitled account as follows
>
>
>
>CLOSE ALL
>CLOSE DATABASES
>OPEN DATABASE D:\SYSTEM\TABLES\ACCOUNT EXCLUSIVE
>USE MASTER 	IN 0
>USE TRIAL 	IN 0
>USE YEAR 	IN 0
>USE FLOW	IN 0
>USE CASH	IN 0
>
>
>In the above dbc the second dbf, Trial, is corrupt.
>How could I programatically findout that the second dbf is corrupt.
>
>Or how could I know that how many dbf's are corrup in any database?
>
>Please help me.

Which VFP version are you using? Basically, you can try to open each table of a database and trap the error.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform