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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report on Filtered Form

Status
Not open for further replies.

katiekat

Technical User
Jun 6, 2000
300
US
Hi there all,

I have a form that users are going to want to filter and then use the return from the filter to print off a report. Is there a way to take a user-defined filter and pull it into a report right from the form?

Thanks a bunch! Holy tek-tips batman!:-0
 
have not tried this but should work

dim strcrit as string
strcrit = me.filter
docmd.openreport "your report",acviewnormal,,strcrit
 
This is exactly what I was looking for. Thank you very much. Works great! Holy tek-tips batman!:-0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top