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

Creating a Report based of form query

Status
Not open for further replies.

Nickaroo

MIS
Mar 24, 2003
21
US
I have a form and a report that uses a query from 2 tables...I want the report to reflect the filter(filter by form) a put into the fields of the form.

 
I've never tried this as I don't personally use Filters, but have a try anyway.

In the On Open Event of your Report:

Me.Filter = Forms!YourFormName.Filter
Me.FilterOn = True

In the On Close Event of your Report:

Me.FilterOn = False

Good Luck

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top