send object (current record)

D

Dave

I have this code, but it sends the entire table. I want
the email to contain just the information for the record
displayed on the form. I assume I would obtain the
record number, pass it to a query and email the query.
But I'm not sure, any suggestions?

Private Sub Command10_Click()

DoCmd.SendObject acSendForm, "Example", acFormatRTF, _
"(e-mail address removed); (e-mail address removed)", , ,
_
"Form", , False


End Sub
 
P

Perry

Why not use a dummy report for this particular record?
You can also fancy format the report and then use the
SendObject() to mail the report.

Krgrds,
Perry
 

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