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!

2 types of Criteria?

Status
Not open for further replies.

giggs11

Programmer
Dec 5, 2001
21
CA
I was wondering if it was possible to have 2 criteria's when running a query? I want to prompt the user to specify a date range and also have a running total. (i.e Totals for month of Feb and also a running total from Nov - Current date). Is this possible?
 
You can have two criteria. Choose your field and put the two criteria under each other. That gives Criterion1 OR Criterion2.

 
Thanks. But now how do i show them on the reports? I need one text box showing the Criteria 1(current month) and another showing Criteria 2 (YTD) totals? Also, how would i but in criteria for NOv 1/03 - now? i tried >=11/01/03 and "now".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top