I have a Access 2010 filtered report (filtered on action owner). I also have a query which gives the list of action owners with their email id who has actions pending.
At present I email a common report of all pending actions of all owners to everybody. I feel it is not right as everybody see other's pending actions. What I would like to do is to email the filtered report only to the concerned action owners so that the pending actions of one owner should not go to anybody else. I use Macro action "Email database object" and send the report in PDF format.
I have two unbound text fields set on a form from where the email command button operates. These two text fields can store the name and email id from the query. What I don't know is how I assign the name and email id to the text boxes through a macro from the query. I mean if there are 10 people in the query, it set values of first record to these text boxes, send mail to him, then set values of second record, send email to him and so on until it finish all 10 people.
Any thoughts and ideas highly appreciated. I couldn't find anything like Do while EOF - Next Loop in Macro actions.
Thanks in advance.