Information générale
Catégorie:
Codage, syntaxe et commandes
>>if i see this right it seem that you can not reassign the 'on error' command within an error trap routine - is this correct? is there a solution in Vfp6 to this?
>
>Not that I know of. Why would you need an error trap in an error trap? That code should be perfect! ;)
well, i tried my new "ASESSIONS()" and it works perfect. but, since i call this function from my error trap - which was called from an on error command, there would be a nested on error. it looks like vfp at that time ignores any reassignment of the on error. therefor, the command 'set datasession to #' in the ASESSIONS() does not trigger a new error. so i am fresh out of luck here.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement