Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to trap a VALIDATE error?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Is there a way to trap a VALIDATE error?
Divers
Thread ID:
00026440
Message ID:
00026440
Vues:
81
We want to VALIDATE our database when we open it to prevent problems with bad data. The problem is if the VALIDATE doesn't pass it bypasses our ONERROR proc and crashes the system. Is there some way to use VALIDATE and elegantly exit if there's a problem with the database?

TIA
"It is an important and popular fact that things are not always what they seem. For instance, on the planet Earth, man had always assumed that he was more intelligent than dolphins because he had achieved so much -- the wheel, New York, wars and so on -- whilst all the dolphins had ever done was muck about in the water having a good time. But conversely, the dolphins had always believed that they were far more intelligent than man -- for precisely the same reasons." - Douglas Adams
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform