>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