Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find which table is corrupted in any database
Message
 
 
À
19/07/2004 23:39:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00926008
Message ID:
00926010
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform