johnbowser11
Registered User.
- Local time
- Today, 07:16
- Joined
- Apr 26, 2005
- Messages
- 13
Hi everyone, an easy one probably for most of you no doubt.
below is the code for my button which attatches the report to an email as HTML, what I want it to do is fill in the address field too, with say access@programmers.co.uk so the user can just send the report straight out to the dept its needed.
Private Sub email_Click()
On Error GoTo Err_email_Click
Dim stDocName As String
stDocName = "DeliveryNoteReport"
DoCmd.SendObject acReport, stDocName, "HTML"
Exit_email_Click:
Exit Sub
any ideas?
below is the code for my button which attatches the report to an email as HTML, what I want it to do is fill in the address field too, with say access@programmers.co.uk so the user can just send the report straight out to the dept its needed.
Private Sub email_Click()
On Error GoTo Err_email_Click
Dim stDocName As String
stDocName = "DeliveryNoteReport"
DoCmd.SendObject acReport, stDocName, "HTML"
Exit_email_Click:
Exit Sub
any ideas?