Creating a report with dates using month not year in access

C

Cristina

I am trying to create a report or something similar that will pull up our
clients birthdays, but only by month. Right now they are listing them by Year
then by month. I don't want the Year to play a factor in the report. I am
fairly new to access, so I would need a little help explaining how to do
this. Thank you!
 
C

Cristina

Do I put that verbatum in the SQL view of the query? Or where would I enter
that?

If you have time, can you please give me a step by step. I have been at this
ALL day.

Thank you much!

Klatuu said:
WHERE Month([DOB]) = [Enter Birthday Month]
--
Dave Hargis, Microsoft Access MVP


Cristina said:
I am trying to create a report or something similar that will pull up our
clients birthdays, but only by month. Right now they are listing them by Year
then by month. I don't want the Year to play a factor in the report. I am
fairly new to access, so I would need a little help explaining how to do
this. Thank you!
 
K

Klatuu

It would be the Where clause of your query.
You need to change [DOB] to the actual name of your birthday field.

This line:
[Enter Birthday Month]

will cause an input box to popup with the message "Enter Birthday Month"
If you want to pass the parameter using a control on your form it would be:
WHERE Month([DOB]) = Forms!MyFormName!DateOfBirthControlName
--
Dave Hargis, Microsoft Access MVP


Cristina said:
Do I put that verbatum in the SQL view of the query? Or where would I enter
that?

If you have time, can you please give me a step by step. I have been at this
ALL day.

Thank you much!

Klatuu said:
WHERE Month([DOB]) = [Enter Birthday Month]
--
Dave Hargis, Microsoft Access MVP


Cristina said:
I am trying to create a report or something similar that will pull up our
clients birthdays, but only by month. Right now they are listing them by Year
then by month. I don't want the Year to play a factor in the report. I am
fairly new to access, so I would need a little help explaining how to do
this. Thank you!
 

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