Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find out corrupted table in dbc
Message
De
26/08/2004 08:21:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00936469
Message ID:
00936560
Vues:
18
If he use VFP 8.0 I would go for TRY/CATCH instead of ON ERROR, but that may not be enough because the corrupted database may not cause an error. Worse than not crashing, it may give wrong results.

A tool like SDT would be best. Otherwise, a scheduled maintenance routine could do a VALIDATE DATABASE RECOVER on the database wich could correct some problems.

>Why not create your own error routine?
>
>IE On error do myerrorroutine with error(),program(),lineno()
>
>from within there you could then detect what lines running that caused the error etc. with program(), lineno()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform