468,107 Members | 1,311 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,107 developers. It's quick & easy.

Sending an email from a form.

Hi folks;
I have a pretty simple problem which is proving tricky to solve... I have a form that displays various contact information about an individual, and one of these items of information is an email address. Below this I've added a button labelled "Email Me!" You'll never guess what it's for...

As the more cunning amongst you may have guessed, I want it to open a user's default mail client with the email address from the box above the button already filled in. In essence I want the button to do:


I've tried a couple of different methods. SendObject is looking the most promising but I can't get Access to stop taking forms!frm... literally and sending an email to it. I also tried using the button to run

iexplore.exe + " " + forms!frm......

and that kind of works but it's pretty clunky. Is there an easier way to make a button run mailto:[...] commands?

Aug 8 '07 #1
1 1248
12,509 Expert Mod 8TB
Expand|Select|Wrap|Line Numbers
  1. FollowHyperlink "mailto:" & Forms!frmContactDetails!EmailAddress
Aug 20 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Michael | last post: by
7 posts views Thread by bleachie | last post: by
reply views Thread by sheel331 | last post: by
2 posts views Thread by lstanikmas | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.