I have a form which has a command button 'send email' and contains the code needed to send email with report as an attachment (rtf format), to a list of chosen people by the database user.
the process goes on this way.
First the user chooses the list of users the email has to be sent, the list of chosen users is collected into a table which stands as a source for the recordset for the send object command listing the names of the persons the email to be sent and then after choosing the list of email recepients the user gets to another form where he or she hits the command button 'send email' and the email is sent.
Until here everything is fine.
I am trying to create a way the user can even choose what report to be sent from a list of reports, same as he or she chooses the email recepents.
Hope I am trying to explain myself in a clear manner.
Could somebody suggest me anyway to tackle the whole problem.
I tried to create another form with a combo box where the user can choose as to which report to email.I was trying to collect the chosen option into a table called 'Report Chosen'
the problem is each time after a process is made( like choosing a specific report, choosing the email recipients and then clicking the send email button,) Next time when the user selects to choose another report,the records in the table 'reports chosen' should be deleted so as to hold data for a single process.
Please advise me on this.
Thanks a million in advance.
Regards
the process goes on this way.
First the user chooses the list of users the email has to be sent, the list of chosen users is collected into a table which stands as a source for the recordset for the send object command listing the names of the persons the email to be sent and then after choosing the list of email recepients the user gets to another form where he or she hits the command button 'send email' and the email is sent.
Until here everything is fine.
I am trying to create a way the user can even choose what report to be sent from a list of reports, same as he or she chooses the email recepents.
Hope I am trying to explain myself in a clear manner.
Could somebody suggest me anyway to tackle the whole problem.
I tried to create another form with a combo box where the user can choose as to which report to email.I was trying to collect the chosen option into a table called 'Report Chosen'
the problem is each time after a process is made( like choosing a specific report, choosing the email recipients and then clicking the send email button,) Next time when the user selects to choose another report,the records in the table 'reports chosen' should be deleted so as to hold data for a single process.
Please advise me on this.
Thanks a million in advance.
Regards