Best example is from the link above however, I need it to be modified.
Basically, I have a query with many fields. 3 fields are email address where I needs to send emails our grouping records as attachment or part of the body in the email detailing transactions. The query is for delinquent payments.
Requirement:
3 fields = Email, Del Email, Bur Email
I need the recordsets with to be grouped by those 3 fields and an email sent. So for example under 1-10 records with email 1@1.com i click a button and an email will be sent to 1@1.com then moves to another email address grouping the recordset with that criteria then loop.
the second button with 2@2.com in [del email] field will send all recordset grouping transaction inside that query and adding it in the body or template from text box then loop. and same goes for bur email.
I hope this is clear.
Also, I would like to upload or paste a template in a textbox to be used so no added fields needed to be created to limit the size of the db.
I've attached a sample with dummy data on query and a sample result however it will be looped to email the rest of the records based on grouped column.
Could someone please help? I feel like this is out of my skill level.
thank you!
Comment