SendTo Report

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

Guest

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?
 
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
 
Back
Top