S
Simon
I have a bit of VB Code that will send a customer a email and a report
attached
DoCmd.SendObject acReport, "rptCustomersNearDealersSearch",
"RichTextFormat(*.rtf)", Me.Email, "", "", "leads", "Please find
attached the latest customer brochure request for your area
", False, ""
When i run this works but it brings up a message tiemming me that a
prodgram is trying to send an email
It then makes be click Allow. when i click Allow it send the email
Is there a way to stop it bring up the message
I just want one button on the access form that will send the customer
an email with out a message coming up on screen
Thanks
Simon
attached
DoCmd.SendObject acReport, "rptCustomersNearDealersSearch",
"RichTextFormat(*.rtf)", Me.Email, "", "", "leads", "Please find
attached the latest customer brochure request for your area
", False, ""
When i run this works but it brings up a message tiemming me that a
prodgram is trying to send an email
It then makes be click Allow. when i click Allow it send the email
Is there a way to stop it bring up the message
I just want one button on the access form that will send the customer
an email with out a message coming up on screen
Thanks
Simon