I need to create a report based on a query using multiple criteria. Here is my example
I have a table with several records of purchase orders.
[PO Number] | [DATE] | [Vendor] | [Job]
I can run a searh using the job or vendor fields using the following line
But what if I wanted to narrow down my search even more and tell it to show me all the hits where POJob = "ThisJob" and PoVendor = "This vendor"
Anyone know how to do that? Please help
I have a table with several records of purchase orders.
[PO Number] | [DATE] | [Vendor] | [Job]
I can run a searh using the job or vendor fields using the following line
Code:
DoCmd.OpenReport stDocName, acViewPreview, , "PoJob = " & Me.cbSrchJob, acWindowNormal
But what if I wanted to narrow down my search even more and tell it to show me all the hits where POJob = "ThisJob" and PoVendor = "This vendor"
Anyone know how to do that? Please help