Advertisement

06.27.2008 at 02:18PM PDT, ID: 23523035
[x]
Attachment Details

Error when using docmd.sendobject

Asked by Pdeters in SQL Query Syntax, Access Forms

I am sending an emial from a form in Access 2003 - the code is below. If I click on the command button and i get the email up with the names etc in it and then decide not to send it I get and error - THe sendobject was cancelled. I want to be able to cancel it without getting and eror.

this is the code

 Private Sub SendMaill_Click()
Dim strTo As String
 
    strTo =  Me.appointment & " - " & Me.apptTime
   DoCmd.SetWarnings False
   DoCmd.SendObject , strTo, , Nz(EmailTo, ""), Nz(EmailCC, ""), , "QA GO Review", strTo
    End SubStart Free Trial
[+][-]06.27.2008 at 03:12PM PDT, ID: 21888077

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.27.2008 at 06:14PM PDT, ID: 21888651

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.28.2008 at 09:02PM PDT, ID: 21892908

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.28.2008 at 09:03PM PDT, ID: 21892911

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: SQL Query Syntax, Access Forms
Sign Up Now!
Solution Provided By: boag2000
Participating Experts: 3
Solution Grade: A
 
 
[+][-]06.28.2008 at 10:29PM PDT, ID: 21893041

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.29.2008 at 12:48AM PDT, ID: 21893272

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.29.2008 at 12:59AM PDT, ID: 21893286

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.30.2008 at 07:21AM PDT, ID: 21899350

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.30.2008 at 08:04AM PDT, ID: 21899772

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.30.2008 at 12:52PM PDT, ID: 21902473

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628