Hi Bob.
>If you are using VFP 8.0, you can throw an exception that the local CATCH doesn't want to handle (or if it isn't caught it will be thrown anyway.). Which will send it up the the next level CATCH.
Something I've been doing lately is storing the Exception object in a global location (eg. oApp.oException) before using THROW. That way, even something like an Error method or ON ERROR routine can work with the Exception object by first checking if oApp.oException is an object.
Doug
Précédent
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