Criteria

A

Aran

Can someone tell me why this criteria will not work:

Between Date() and Date("m",3,Date())

I want to create a query that lists all records within 3
months of the current date.

Apologies for any stupidity

Many Thanks

Aran
 
C

Cheryl Fischer

Aran,

You need to use the DateAdd() function - try this ...

Between Date() And DateAdd("m",3,Date())

hth,
 
J

Jim/Chris

I am not sure but try one of these
Between Date() and Date(m; +3; date())
or
Between Date() and Date("m",+3,Date())

Jim
 
J

Jim/Chris

Sorry Cheryl is correct.

Jim
-----Original Message-----
I am not sure but try one of these
Between Date() and Date(m; +3; date())
or
Between Date() and Date("m",+3,Date())

Jim

.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top