Hi there all i have an A97 db with an email button the pronlem i have is i dont want to send a report with the email i just wanted to populate the send to field and the cc field but the only way i seem to be able to set this up is by attaching a report to it
can this be be set up so that an email can be sent with out attaching anything?
Here is me current code
Private Sub Command7_Click()
On Error GoTo Err_mailrpt_Click
Dim stDocName As String
stDocName = "Do_Not_Open"
DoCmd.SendObject acReport, stDocName, "Rich Text Format", "person1@company.com ", "person2@company.com", , "DRAWINGS FOR APPROVAL ADDED", "Please Complete The Link Then Send To CTC \\servername\PROJECTS\ CTC: Please Click On The Link To Retrieve Approval Drawings."
Exit_mailrpt_Click:
Exit Sub
Err_mailrpt_Click:
MsgBox Err.Description
Resume Exit_mailrpt_Click
End Sub
Thanks in advance for any help.
TIDMAN.....
can this be be set up so that an email can be sent with out attaching anything?
Here is me current code
Private Sub Command7_Click()
On Error GoTo Err_mailrpt_Click
Dim stDocName As String
stDocName = "Do_Not_Open"
DoCmd.SendObject acReport, stDocName, "Rich Text Format", "person1@company.com ", "person2@company.com", , "DRAWINGS FOR APPROVAL ADDED", "Please Complete The Link Then Send To CTC \\servername\PROJECTS\ CTC: Please Click On The Link To Retrieve Approval Drawings."
Exit_mailrpt_Click:
Exit Sub
Err_mailrpt_Click:
MsgBox Err.Description
Resume Exit_mailrpt_Click
End Sub
Thanks in advance for any help.
TIDMAN.....