SendTo Report

S

Sean

I need to send a Report via Email to a predefined list of recipients.
I have created a sendto object and it sends the report as a .HTML attachment.
The problem is that it attaches ALL records instead of just the current record.
How do I limit the criteria to only current record?
 
G

Graham Mandeno

Hi Sean

You will need to either:

1. Base the report on a query which includes the necessary criteria to
filter only the record required, or

2. Write some code for the report's Open event to apply a filter to the
report - for example:

Me.Filter = "CustomerID=" & Forms!frmSendReport!cboSelectCustomer
 

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