Hi there,
Its me again with my silly questions. But this thing has been bogging my head for quite some time. I have a form and when it loads a mail is sent with a report to email ids listed in a table. I am able to send it to only the email id in the first field of the table. The code i used is :
Pls let me know what is wrong...
Its me again with my silly questions. But this thing has been bogging my head for quite some time. I have a form and when it loads a mail is sent with a report to email ids listed in a table. I am able to send it to only the email id in the first field of the table. The code i used is :
Code:
data = DLookup("[Email_Address]", "TableName", "[Email_Address] <> ' '")
DoCmd.SendObject acSendReport, , acFormatXLS, data, , , "report", "Pls find Report", False
Comment