I'm trying to send a simple report from my form using the email address current on form.
This is my code, but I think I'm missing something can you help?
Report Name is R_Followupletter
Field: EmailAddress
The report and form link fields is "Company" just FYI if you need.
DoCmd.OpenReport "R_FollowUpLetter", acViewPreview, , "[EmailAddress] = Forms!F_ContactDetails!EmailAddress"