Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

filtering sendobject

Status
Not open for further replies.

aplusmk

Programmer
Joined
Apr 1, 2003
Messages
6
Location
US
I am trying to send out an email with the listing of a report based on information on a form.

Is there anyway to dynamically filter the report for the send object?

This is what I have so far:


DoCmd.SendObject acSendReport, "wpr_assignment_report", acFormatRTF, strToWhom, , , "Assignment Report", strMsgBody, False

 
Only way I know of, is putting the criteria into the query the report is based upon.

(well - I think I've seen someone using the reports on open event to set filter too, but I haven't tried that myself...)

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top