Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This is a weird one...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00122007
Message ID:
00122147
Vues:
17
>So are you saying that the error IS firing in VFP's error handler but it is just ignoring it? Whereas in my error routine it catches it?
>
>>
>>It's one of those funny things, but your correct. If you have an on error statement,pointed to a .prg, the error goes to the OBJECT error handler, not the .prg. If you don't, it displays on the screen.

I have 2 error handlers. One is in FrameWork (or this could be in the form Error Method) The Other is an ON ERROR, pointer to the .prg If the ON ERROR statement is not used, then the cdx error displays a FoxPro base error screen (Cancel, Ignore, Suspend) If the ON ERROR statement is used, the cdx error does not go to the .prg error handler, but instead goes to the FrameWork error handler.

What this means, is that you must have an ON ERROR statement, and and .prg handler, even it is not used !

HTH
Glenn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform