Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PROBLEM: CHECK with error on CREATE CURSOR/TABLE
Message
 
 
To
06/09/2003 10:30:58
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00826736
Message ID:
00827344
Views:
21
Hi Fabio,

It seems to me that it's the result of the same bug as in PROBLEM: DEFAULT on CREATE CURSOR/TABLE don't CATCH Thread #826735.

>Hi,
>
>If CHECK expression is bad, the error ignore TRY...ENDTRY.
>
>
>CLEAR
>CREATE CURSOR myCursor (f1 c(20) CHECK f1=2 )
>TRY
>	APPEND BLANK
>CATCH
>	MESSAGEBOX(MESSAGE(),0,'my Error Box 1')
>ENDTRY
>
>CREATE CURSOR myCursor (f1 c(20) CHECK f1=A+2 )
>TRY
>	APPEND BLANK
>CATCH
>	MESSAGEBOX(MESSAGE(),0,'my Error Box 2')
>ENDTRY
>
>
>Note: this problem occurs also on VFP6/7/8 with ON ERROR error handling schema.
>
>Fabio
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform