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

How do i use a query to display customers up for review

Status
Not open for further replies.

Epsilon101

Programmer
Mar 30, 2004
384
GB
This is in reference to thread705-869085

How do i create a query that will list customers where a check box is not ticked and the date being checked is todays date - 4 working days or more, by that i mean weekends are not counted.

??

---------------------------------------
Thanks for any help!
 
Working with dates is needed frequently, so there are many threads and FAQ's about that topic. For example: faq705-4531

You'll need a function which can be referenced by your query.

Look at the FAQ and if you have questions how to create your own, post here. It would be most efficient to include actual table, field and function names.



HTH,
Bob [morning]
 
Select * from mytable where checkfield = false and
mydate = (iif(weekday(Date()) = 6, Date()-4, Date()-6))

Use your own table and field names.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top