Hi guys,
I'm building a database that manages licenses for a software that we sell.
I have a small problem and I can't find the proper keywords to finds a solution in the forums.
Here's what I have:
A table with demographic info as well as a 2 date fiels (Date_Activ and Date_Renew). Date_Activ is the activation date of the license and Date_Renew is the renewal date.
I also have a function that sends emails
Finally I have a form based on a query that shows all the licenses that will be due to renew in less than 30 days.
What I want to do is write a vba script that will send a reminder email for every license that is due to expire.
So in my head I have something like,
For every License_ID that is on the form
Call my function to send en email
I'm still fairly new to vba programming and have never looped anything... I need help and ideas.
Thanks
P.S. Using Access 2010
I'm building a database that manages licenses for a software that we sell.
I have a small problem and I can't find the proper keywords to finds a solution in the forums.
Here's what I have:
A table with demographic info as well as a 2 date fiels (Date_Activ and Date_Renew). Date_Activ is the activation date of the license and Date_Renew is the renewal date.
I also have a function that sends emails
Finally I have a form based on a query that shows all the licenses that will be due to renew in less than 30 days.
What I want to do is write a vba script that will send a reminder email for every license that is due to expire.
So in my head I have something like,
For every License_ID that is on the form
Call my function to send en email
I'm still fairly new to vba programming and have never looped anything... I need help and ideas.
Thanks
P.S. Using Access 2010