Hi,
I am trying to email a report based on the current record being viewed in a form. I have this so far but of course when the report is created it has all the records in it. Was wondering how I can create a report for the current record in the form.
DoCmd.SendObject acSendReport, "rptEmailDetails", acFormatPDF, Me.EmailAddress_tblTPAgents, , , Me.Title & " " & Me.Surname & " - " & Me.Reference, "Message here"
Im sure this is stupidly easy but I just can’t get my head round it
I am trying to email a report based on the current record being viewed in a form. I have this so far but of course when the report is created it has all the records in it. Was wondering how I can create a report for the current record in the form.
DoCmd.SendObject acSendReport, "rptEmailDetails", acFormatPDF, Me.EmailAddress_tblTPAgents, , , Me.Title & " " & Me.Surname & " - " & Me.Reference, "Message here"
Im sure this is stupidly easy but I just can’t get my head round it
