Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping LOCATE DB Error
Message
From
23/02/1999 10:43:58
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
 
 
To
23/02/1999 10:07:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00190235
Message ID:
00190440
Views:
15
Thanx, I DL your code and I think I understand it (I am not an expert user of CLASS').

For the suggested solution to work I THINK I would need to add code to each form/report. I am looking for code to catch PATH problems that can sit in my error handler without having to recode numerous screens.

I am amazed that there is no setting to turn on the PROMPT type option that appears by default and I am further surprised that none of the ERROR CODEs relate to such path problems. VFP does not appear to consider path problems, to be errors.

>Hi Ian.
>
>>It occurs when the path to a database is not valid. I need to trap this error but by ON ERROR routine is not even seeing it.
>
>Check out my white paper on error handling (the Technical Papers page of www.stonefield.com) -- it'll handle this type of error.
>
>Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform