e-mail address in text field. Click on it to initiate new msg in O

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In Word, if I click on an e-mail address, Outlook Express is automatically
opened and a message to that address is prepared. I would like to achieve
the same effect by clicking on an e-mail address in a standard form in Access
2000.
 
You can use the Click or DblClick event to achieve this. On the email field
enter code similar to this to launch your email service with the current
email address in the To box:

DoCmd.SendObject acSendNoObject, , acFormatRTF, [YourEmailFieldName]

"acFormatRTF" is Rich Text formatting. If you want something different...say
plain text you can enter acFormatTxt or leave it blank to allow the user to
select an option at the time the email is created.
 
Fantastic. It works a treat. Many thanks
Andrew

rowiga said:
You can use the Click or DblClick event to achieve this. On the email field
enter code similar to this to launch your email service with the current
email address in the To box:

DoCmd.SendObject acSendNoObject, , acFormatRTF, [YourEmailFieldName]

"acFormatRTF" is Rich Text formatting. If you want something different...say
plain text you can enter acFormatTxt or leave it blank to allow the user to
select an option at the time the email is created.

aathorpe said:
In Word, if I click on an e-mail address, Outlook Express is automatically
opened and a message to that address is prepared. I would like to achieve
the same effect by clicking on an e-mail address in a standard form in Access
2000.
 
You're welcome

Andrew Thorpe said:
Fantastic. It works a treat. Many thanks
Andrew

rowiga said:
You can use the Click or DblClick event to achieve this. On the email field
enter code similar to this to launch your email service with the current
email address in the To box:

DoCmd.SendObject acSendNoObject, , acFormatRTF, [YourEmailFieldName]

"acFormatRTF" is Rich Text formatting. If you want something different...say
plain text you can enter acFormatTxt or leave it blank to allow the user to
select an option at the time the email is created.

aathorpe said:
In Word, if I click on an e-mail address, Outlook Express is automatically
opened and a message to that address is prepared. I would like to achieve
the same effect by clicking on an e-mail address in a standard form in Access
2000.
 
OMG u rock !!!! i've been hunting for this for i dont know how many years!!!

why is this so buried and hidden..

thank you for posting

rowiga said:
You can use the Click or DblClick event to achieve this. On the email field
enter code similar to this to launch your email service with the current
email address in the To box:

DoCmd.SendObject acSendNoObject, , acFormatRTF, [YourEmailFieldName]

"acFormatRTF" is Rich Text formatting. If you want something different...say
plain text you can enter acFormatTxt or leave it blank to allow the user to
select an option at the time the email is created.

aathorpe said:
In Word, if I click on an e-mail address, Outlook Express is automatically
opened and a message to that address is prepared. I would like to achieve
the same effect by clicking on an e-mail address in a standard form in Access
2000.
 

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

Back
Top