MichaelWaimauku
Registered User.
- Local time
- Today, 18:46
- Joined
- Dec 6, 2012
- Messages
- 57
I have the following vba that takes current data off a form and puts it into a report:
Private Sub Command25_Click()
DoCmd.OpenReport "nonconformity", acViewPreview, , "[nonconformid]=" & Me.NonConformID
End Sub
I want to take that report and have it attached to an email as pdf doc. Also, the to: in the email address to be populated by the field on the current form. All driven from the button on the open form. Is this possible & how?
The field holding the email address is forms![non conformity]![contact]
Private Sub Command25_Click()
DoCmd.OpenReport "nonconformity", acViewPreview, , "[nonconformid]=" & Me.NonConformID
End Sub
I want to take that report and have it attached to an email as pdf doc. Also, the to: in the email address to be populated by the field on the current form. All driven from the button on the open form. Is this possible & how?
The field holding the email address is forms![non conformity]![contact]