Send a record from a form as an email

S

S.Matthew

When you click a command button on a form is it possible
to send only that record as an email. If so how?

Thanks in advance
S. Matthew
 
S

Steve Schapel

S. Matrthew,

Yes. I suppose the most straightforward approach is to make a Query,
which used the key field in the form's data in the Criteria of the
query, using syntax such as [Forms]![YourForm]![YourKeyField]
.... and then use code based on the SendObject method to make your email,
and export the query, or a report based on the query. Hope that makes
sense.
 

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