Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error on a CATCH statement
Message
 
 
À
07/01/2009 17:21:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01371894
Message ID:
01371895
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform