Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TRY CATCH not working w/SKIP
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00829114
Message ID:
00829120
Views:
24
Andy,

There're no errors generated. To see that, run your code w/o TRY...ENDTRY.

>This should "CATCH" the error of trying to SKIP
>beyond BOF or EOF, right?
>If so, has anyone reported this yet?
>
>
>CREATE CURSOR curTemp ;
>  ( id I )
>
>INSERT INTO curTemp ( id ) ;
>  VALUES ( 1 )
>
>TRY
>    SKIP 10001 IN curTemp
>    SKIP -10001 IN curTemp
>CATCH
>    ? "Caught"
>ENDTRY
>
>
>Thanks
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform