UGH! I am having a time with this one. Any help would be much appreciated.
I am working on a Supplier Address book that will contain 300+ contacts and be utilized for mass mailings.
End Goal: Have a button that when clicked, it asks for criteria (an organizational role ie: Plant Manager, Planner, Engineer, etc.) and then creates a blank e-mail and adds every e-mail address that has a matching organizational role.
I can get the e-mail addresses (that the e-mail is suppose to be sent to) in a multi-record query without a problem. Once I get all the e-mail address on one line though, it goes beyond 255 characters and I don't capture all the e-mail addresses required. I believe I am going to have to involve more code to get all the matching record e-mail addresses into the e-mail.
Any ideas on the best way to accomplish this?
I started working on using a recordset, but it doesn't like my line of code:
Code:
rst1.Open "Select * From fltRoleChosen", CurrentProject.Connection, adOpenDynamic, adLockOptimistic
and gives me an error that it is missing one or more required parameters.
Once I get the recordset to work, I don't really have a clear path beyond that either though so I am open to any suggestions.
Thanks!