How to export a current record report via email

I

Irshad Alam

I have form where I have a command button. When clicked on the command
button, its open a report of current record. (report name is "EmpCode")

Now I want to make one command button which should do me the following jobs:
1. Open the current record on the report
2.Export/Save as snap shot with the same report name (EmpCode.Snp)
3.Open the Outlook express and keep this snapshot file as a attachment.

We know that manually we can do it, Like when the report is opened, we can
select - menu - File - Export and so on.
Then open the snap shot file , from Menu file, send as attachment and its
opens the outlook and keep this file as attachement.
It same. Therefore, I am looking for a code, which can do all my job
mentioned .
Means send the current record via email attachement as a snapshot format.
I hope the advisor will understand what I have tried to explain.
Please guide me what code to write on a command click event to do the above.
 

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