Birthdays NEXT month

G

Guest

Hi team!

I currently have a query returning birthdays *this* month by using
[Birthdate]=Month(Now()).

How do I modify this to return the birthdays for *next* month?

Many thanks in advance,
Suzy
 
A

Al Camp

Suzy,
You wrote
I currently have a query returning birthdays *this* month by using
[Birthdate]=Month(Now())

In order for that to work, Birthdate would have to be a number between 1
and 12. If that's true, then...
[Birthdate] = Month(DateAdd("m",1,Now()))

If Birthdate is actually a legitimate date (mm/dd/yy) then I think you
want...
Month([Birthdate]) = Month(DateAdd("m",1,Now()))
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions


Suzy said:
Hi team!

I currently have a query returning birthdays *this* month by using
[Birthdate]=Month(Now()).

How do I modify this to return the birthdays for *next* month?

Many thanks in advance,
Suzy
 
G

Guest

Youa re right of course! Thanks for the quick reply!

Al Camp said:
Suzy,
You wrote
I currently have a query returning birthdays *this* month by using
[Birthdate]=Month(Now())

In order for that to work, Birthdate would have to be a number between 1
and 12. If that's true, then...
[Birthdate] = Month(DateAdd("m",1,Now()))

If Birthdate is actually a legitimate date (mm/dd/yy) then I think you
want...
Month([Birthdate]) = Month(DateAdd("m",1,Now()))
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions


Suzy said:
Hi team!

I currently have a query returning birthdays *this* month by using
[Birthdate]=Month(Now()).

How do I modify this to return the birthdays for *next* month?

Many thanks in advance,
Suzy
 

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