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

Using Yesterday's Date as Criteria for a Report 1

Status
Not open for further replies.

jeremyhache

Programmer
Sep 30, 2002
19
0
0
US
I'm new to Access and sql so how would I use yesterday's date in MM/DD/YYYY format as criteria for a report in Access 2000?

I'm trying to edit an existing report that prompts for the date but I need a version of this that I can have a batch file run daily, so it can export an .snp version to my company's intranet, therefore, I can't have Access prompting for the date when it tries to run the report. (Sorry the backround info is so lengthy and uninteresting:)
 
Does this help?

format(now() - 1, "mm/dd/yyyy")

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top