refer to field in form to get email address when sending object

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

Guest

I am trying to develop a database that will make it easier to track notices
that we send to our users. As part of the process, I have created a form for
entering the information that we are sending, and a report that will just
show the information I have just entered for that user.
Now, I want to put a command button, using a macro, that I can press to send
the information to the user. I have created the macro, but when I try to use
it to send the object I just get [forms]![first_notice]![EMAIL_ADDRESS] in
the To: field, instead of the actual address. How would I change the
function to actually show the email address instead of showing the fuction?
 
Beth,

In the To argument of the SendObject action in your macro, put a = in
front...
=[Forms]![first_notice]![EMAIL_ADDRESS]
 
Thank you!
I can't believe it was so easy! Now I feel dumb.

Steve Schapel said:
Beth,

In the To argument of the SendObject action in your macro, put a = in
front...
=[Forms]![first_notice]![EMAIL_ADDRESS]

--
Steve Schapel, Microsoft Access MVP
I am trying to develop a database that will make it easier to track notices
that we send to our users. As part of the process, I have created a form for
entering the information that we are sending, and a report that will just
show the information I have just entered for that user.
Now, I want to put a command button, using a macro, that I can press to send
the information to the user. I have created the macro, but when I try to use
it to send the object I just get [forms]![first_notice]![EMAIL_ADDRESS] in
the To: field, instead of the actual address. How would I change the
function to actually show the email address instead of showing the fuction?
 

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