Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error on a CATCH statement
Message
 
 
To
07/01/2009 17:21:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01371894
Message ID:
01371895
Views:
17
This message has been marked as the solution to the initial question of the thread.
Remove m. from CATCH TO m.loException, use just CATCH TO loException.

Little problem (bug?) here. Was either discussed here before or I got this problem too, don't recall.

>While adding a new driver to my Query.app utility, I started throwing an error on the CATCH statement; try/catch/finally/endtry mismatch or error. Here the try/catch block...
>
>	TRY
>		THIS.Support.Convert2Cursor(tcSQL)
>	CATCH TO m.loException
>		THIS.SaveError( m.loException, "Error occurred during Convert2Cursor method." )
>	ENDTRY
>
>
>After returning from the Convert2Cursor function, the error occurs on the Catch. I have step through the entire and found no error and no other Try block.
>
>Any suggestion in how to stop this error would be helpful.
>
>Thanks
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform