Tezcatlipoca
Registered User.
- Local time
- Today, 19:41
- Joined
- Mar 13, 2003
- Messages
- 246
Quick query regarding email sending from forms.
The current setup is as follows:
tblData
Holds the core data of my records. This includes a field - formatted to TEXT mode - called 'Email'.
frmData
The frontend of the data, designed so users can surf the records easily. This includes a field called 'Email' which is bound to the 'Email' table field and has an 'OnClick' event of:
Private Sub Email_Click()
DoCmd.SendObject , , , Me.Form!, , , , , , True
ExitHere:
ErrorHandlerExit:
End Sub[/I]
Now this setup works absolutely fine. Users can browse the database without any problems, and, with a single click on the 'Email' text box can open up Outlook, ready to send a mail.
My query is that my manager has recently asked if it is possible to send out mass mails, filtered by the data from another field. Specifically, I want to be able to have Outlook open up with the email addresses of every record whose 'Country' field contains a certain word, thus enabling me to mass mail all German records, or all Swiss, and so on.
Any thoughts?
The current setup is as follows:
tblData
Holds the core data of my records. This includes a field - formatted to TEXT mode - called 'Email'.
frmData
The frontend of the data, designed so users can surf the records easily. This includes a field called 'Email' which is bound to the 'Email' table field and has an 'OnClick' event of:
Private Sub Email_Click()
DoCmd.SendObject , , , Me.Form!, , , , , , True
ExitHere:
ErrorHandlerExit:
End Sub[/I]
Now this setup works absolutely fine. Users can browse the database without any problems, and, with a single click on the 'Email' text box can open up Outlook, ready to send a mail.
My query is that my manager has recently asked if it is possible to send out mass mails, filtered by the data from another field. Specifically, I want to be able to have Outlook open up with the email addresses of every record whose 'Country' field contains a certain word, thus enabling me to mass mail all German records, or all Swiss, and so on.
Any thoughts?