Hello
This is first my posting and I'm a Access novice.
I have a simple 2 table database (Access 2010) one called members and the other called sales. What I'd like to do is use a VBA script to create an email to each member (who's emails are listed in the members' field) when executed. The to field will get their email address and the body section will get a list of their monthly purchases from the purchases table.
I thought (wrongly) that this would be a well trodden path, as it turns out the guidance I have thus found is vague and difficult to follow.
What I have deduced so far is that I'll need a recordset which gets it's data from an SQL query. I have done this and tested with debug.print and it prints all of the sorted data I want in the immediate window. All I need to know is how to get it into separate emails.
I have already read the MS article on this topic and failed to understand what was going on.
Any help is massively appreciated, even if it is as little as pointing me in the direction of a simple guide.
This is first my posting and I'm a Access novice.
I have a simple 2 table database (Access 2010) one called members and the other called sales. What I'd like to do is use a VBA script to create an email to each member (who's emails are listed in the members' field) when executed. The to field will get their email address and the body section will get a list of their monthly purchases from the purchases table.
I thought (wrongly) that this would be a well trodden path, as it turns out the guidance I have thus found is vague and difficult to follow.
What I have deduced so far is that I'll need a recordset which gets it's data from an SQL query. I have done this and tested with debug.print and it prints all of the sorted data I want in the immediate window. All I need to know is how to get it into separate emails.
I have already read the MS article on this topic and failed to understand what was going on.
Any help is massively appreciated, even if it is as little as pointing me in the direction of a simple guide.