David,
The Error Method works fine. I was abled to trap and handled the error for a command button. In the help, it stated that Error Method will override the current ON ERROR command. Is the a way to gain control full of a command button after the error was handle? All help is appreciated.
>Steve,
>
>You should be able to put code in the Error() method of the MAPIMessage object. It's somewhat limited in what you can actually trap/prevent though.
>
>>MAPIMessage have constant trappable error messages. Such as
>>
>>Constant Value Description
>>--------------------------------------------------------------------
>>mapUserAbort 32001 User canceled process
>>
>>How could you trap this and other errors from MAPI within Visual Foxpro 5.0? Any help is appreciated.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only