Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to trap a VALIDATE error?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Is there a way to trap a VALIDATE error?
Miscellaneous
Thread ID:
00026440
Message ID:
00026440
Views:
83
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
Next
Reply
Map
View

Click here to load this message in the networking platform