email from an open form

J

judith

How can i pass a field name over to the sendObject macro
to fill in an email address from a record displayed in a
form or should I be doing this in some other way?

thanks
 
C

Cheryl Fischer

Judith,

In the To property of the Macro, insert the following:

=[Forms]![MyFormsName]![EmailControlName]

hth,
 
C

Cheryl Fischer

Yes, it does, as long as your email client (such as Outlook) is MAPI
compliant. You can check out the SendObject method and its requirements
by opening any code module (press Alt-F11), clicking Help on the menu, and
typing: SendObject in the Answer Wizard.

--

Cheryl Fischer, MVP Microsoft Access
Law/Sys Associates, Houston, TX


Sylvie said:
does this means that you can send an email directly from access?

----- Cheryl Fischer wrote: -----

Judith,

In the To property of the Macro, insert the following:

=[Forms]![MyFormsName]![EmailControlName]

hth,
--

Cheryl Fischer, MVP Microsoft Access
Law/Sys Associates, Houston, TX


judith said:
How can i pass a field name over to the sendObject macro
to fill in an email address from a record displayed in a
form or should I be doing this in some other way?
 

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