sending report to client's email address

prmitchell

Registered User.
Local time
Today, 15:59
Joined
Jan 2, 2013
Messages
58
I wish to a report to a selected client's email address where the client (Client ID) is selected by the user from a combo box.
I have tried

DoCmd.SendObject acReport, "Report for selected client", "PDFFormat(*.pdf)", "[ClientID]=”&ClientID, "", "", "", "subject", True, ""

which leads to an email message opening where the To is
[ClientID] = pm

The SQL I have in mind is

SELECT ClientID, email
FROM Clients
Where Clients.ClientID = Form![formname].[ClientID]

hope this helps, or just the first paragraph
 

Users who are viewing this thread

Back
Top Bottom