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!

Access Query - Solution in Help doesn't 1

Status
Not open for further replies.

Bill4tektips

Technical User
Aug 5, 2005
175
GB
I'm trying to sort data from a Date field for all actions opened in the previous month. When I went to Access 2000 Help I thought I had found the solution but it does not work. Access Help says put the following in the criteria box.
Between Date() And Date("m",-1,Date() )

but when I do that I get an error message saying "The expression you entered has a function containing the wrong number of arguments"
Can anyone help?
 
I expect this is a PEBKAC issue. Try:
Between DateAdd("m",-1,Date()) and Date()




Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top