Jason-

Friday, June 11, 2004, 3:05:38 PM, you wrote:

JG> Exit_Mailto_Click:
JG>     Exit Sub
JG> Err_Mailto_Click:
JG>     MsgBox Err.Description
JG>     Resume Exit_Mailto_Click
JG> End Sub

Just as a programming style point (and completely off TB topic) I have
always hated the way Access sets up the exit point from functions.
Whenever possible I try to have a single exit from functions and I
code this thusly:

    <snip>
    Forms!Call_ticket!Problem, False
    GoTo Cleanup
Err_Mailto_Click:
    MsgBox Err.Description
Cleanup:
End Sub

... and many thanks for pointing me to acSendNoObject. I had no idea
this was an option.

-- 
-Mark Wieder
 Using The Bat! v1.63 Beta/7 on Windows 2000 5.0 Build 2195 Service Pack 4


________________________________________________________

http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to