Email

G

Ginger

I would like to create a field on a form that contains an
email address. When it is clicked on, it will then send an
email to that address. I know I can use the sendobject in
a macro, but I do not know how to specify in the "to"
field of that macro the name of the field I want to use
for the "to" address.
 
C

Cheryl Fischer

If you want to use a macro, insert the following in the To: property

=[Forms]![MyFormName]![MyEmailControlName]

Do not make the Email field (in the table which is the record source for
your form) a Hyperlink type - it should be a Text field. Also, if you want
the new mail message opened so that you can edit it, be sure to set the Edit
Message property to 'Yes'.
 
G

ginger

Thanks
-----Original Message-----
If you want to use a macro, insert the following in the To: property

=[Forms]![MyFormName]![MyEmailControlName]

Do not make the Email field (in the table which is the record source for
your form) a Hyperlink type - it should be a Text field. Also, if you want
the new mail message opened so that you can edit it, be sure to set the Edit
Message property to 'Yes'.


--

Cheryl Fischer, MVP Microsoft Access



I would like to create a field on a form that contains an
email address. When it is clicked on, it will then send an
email to that address. I know I can use the sendobject in
a macro, but I do not know how to specify in the "to"
field of that macro the name of the field I want to use
for the "to" address.


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top