email Link from field

L

Les

I have a field named txtemailaddress.

I would like the user to be able to Double Click on the field and
automatically start Outlook with a New email already addressed.

Could someone please give the code for this action.

Thanks

Les
 
P

Peter Doering

I have a field named txtemailaddress.
I would like the user to be able to Double Click on the field and
automatically start Outlook with a New email already addressed.

Simple solutions:

DoCmd.SendObject , , acFormatRTF, Me!txtemailaddress.Value, , , , , True
or
Application.FollowHyperlink "mailto:" & Me!txtemailaddress.Value

Professional solution:

http://www.mvps.org/access/modules/mdl0019.htm

HTH - Peter
 
L

Les

Thanks for that Peter.

I used the second method, but it would only work if I put the Field Name in
[]

Les
 

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