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

MS Access Sql - query 7 days from today

Status
Not open for further replies.

IngDep

MIS
Feb 7, 2008
89
US
Following part in an Access sql does not work - no records are displayed.

Run a query every Friday and need records that have a sign date greater than last Friday.

Any clues?


WHERE Format([Oregon_Daily].[SignDate],'MM/DD/YYYY'))>Now()-7))
 
Why not simply this ?
WHERE Oregon_Daily.SignDate>Now()-7

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top