G
Guest
I am trying to send a report by email, using the macro sendobject method. I
used a command button to send the email from a form. The query which is used
for the report creation has the email id of different employees. I used
the [forms]![formname]![fieldname] to send the current record as a report
format by email. ((My form does not have an email field but the report has
the email field. ))
My question is would I be able to use [query]![queryname]![fieldname] in the
macros sendobject methods 'TO' field such that when you are in the form and
the employee name is say for example Scott if I click send email the email
has to be send to Scott.
How do I accomplish this
Thanks in advance
S.Matthew
used a command button to send the email from a form. The query which is used
for the report creation has the email id of different employees. I used
the [forms]![formname]![fieldname] to send the current record as a report
format by email. ((My form does not have an email field but the report has
the email field. ))
My question is would I be able to use [query]![queryname]![fieldname] in the
macros sendobject methods 'TO' field such that when you are in the form and
the employee name is say for example Scott if I click send email the email
has to be send to Scott.
How do I accomplish this
Thanks in advance
S.Matthew