Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Error Handler and Retry
I have created a global error handler for events not trapped by a specific error method. I created a modal form called by ON ERROR and it logs the various error conditions to a dbf. Buttons on the form allow it to suspend, trace, quit, etc.. and I put one on for retry. The following are the various results:
If I release the form before the retry and the error still exists, I get a new copy of the form and the old one still exists as a "Dead _Screen Object".
If I don't release the form, same results.
If I set step on before the retry, the retry shows the line of code in question and when I step into it I get a Fatal Error Win Crash in vfoxpro.
I understand that this is closs to an infinite loop, but how do I either successfully close the form before the retry or have the additional retry error come back to the existing form.
Any help would be appreciated.
John C. Long, MCSE
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