Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TRY...CATCH fails with error 1884 - revised
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00877145
Message ID:
00877151
Views:
13
Hi Jon,
Thanks for the reply. I haven't tried. I assume the standard error box that displays is reporting the correct error, the box shows up saying 'Uniqeness of index....', if you hit the help button, the help file says it is error 1884. Also, if you change the line
CATCH TO oException WHEN oException.ErroNo = 1884
to
CATCH TO oException
and then try
MESSAGEBOX( TRANSFORM( oException.ErrorNo ) )
in the CATCH portion, it still completely bypasses the CATCH. Does that make sense (I can't tell anymore:)? Thanks,

jfh

>John,
>
>Have you tried temporarily using an ON ERROR handler to display the error number and message? Reason I say this is that I would want to be sure exactly which error number is being generated when I try to catch it.
>
>Laterness,
>Jon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform