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

criteria

Status
Not open for further replies.

bjm027

MIS
Mar 7, 2003
59
US
I made a query for a report that has specific criteria. The criteria is asking what major does the user want to review the report on. ["Please enter Major"]. But, the report obviously doesn’t show the jobs that are listed as "All" in that field. To better explain it, the user can enter a specific major to view the report, but I also want the report to list the jobs listed as "All" as well....
Hope this is enough information. Let me know if you need anymore. Thanks in advance.


 
Hi

Then your criteria needs to include an OR so:

WHERE MyField = [Enter Major] OR myField = 'All'

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
KenReay,

Some things are just easier than they seem. Thanks a lot. Much appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top