Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

email command button using contents of separate field

Status
Not open for further replies.

domk

Technical User
Nov 20, 2001
6
0
0
GB
I'm trying to make a command button in an Access form which opens Outlook Express with the contents of the field 'email' as the 'to' box on the mail agent. I tried a macro with SendObject and then put in the to: box , but it translated that literally and opened Outlook Express with " [email] " in the to: box!!!

Do you know how I can do a SendObject but referring to the variable contents of the field 'email' ? Can I use a macro or do I have to resort to code?
____

Dom from the UK
 
if you did this via a macro then I believe you need to refer to the field like
forms!nameofform!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top