Select whose birthday is in a certain month

  • Thread starter Frank Situmorang
  • Start date
F

Frank Situmorang

Hello,

How can we make a parameter query to know whose birthdays are in March for
example. What is the VBA in the form query. In this forum it is explain to
filter from start date and end date, but what we need is to select birthday
by month.

Thanks in advance
 
F

Frank Situmorang

thank you Arvin for quick response. Since the users will be some secretaries
in our church, so I just want to make it easy using option group. So I want
to make them only click for example Birthday of Jan. Feb. Mar......

What is the VBA of the option grourp choosing from Birthdate field of
church member table.

Thank you,
 
J

John W. Vinson

thank you Arvin for quick response. Since the users will be some secretaries
in our church, so I just want to make it easy using option group. So I want
to make them only click for example Birthday of Jan. Feb. Mar......

What is the VBA of the option grourp choosing from Birthdate field of
church member table.

Thank you,

Create an Option Group with labels Jan, Feb, Mar etc., with corresponding
values 1, 2, 3 - the month number.

Use a Query with a calculated field

BirthMonth: Month([birthdate])

and use a criterion on the field of

=Forms!YourFormName!YourOptionGroupName

John W. Vinson [MVP]
 

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