Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error on a CATCH statement
Message
De
07/01/2009 17:33:00
 
 
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:
01371900
Vues:
19
Thanks, that did it. I recent was refactoring the code and added several missing "m.". This problem was the result of usimg te find/replace all to much.

>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
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform