Access 2007-2019
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
Home   News   Courses   Tips   Templates   Forums   Help   Order   Contact   Logon  
Access Tip: Birthdays in July
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   7/20/2008 5:07:33 PM

Q: I need to make a query to find all customers who have birthdays in July. How can I do that?

A: You can easily do this with the DatePart function. Just create a query, and in that query make a new CALCULATED FIELD such as this:

MyMonth: DatePart("m",[DOB])

Where DOB is the date of birth field from your table, "m" represents the month, and MyMonth is going to be a new field which should be a number from 1 to 12.

Now, just set the Criteria for that field (in the same column) equal to whatever month you're looking for. For July, that's 7.

Piece of cake.

How to create a birthday calendar Link 
Israel Estrada 

First, let me say that I've found your website, and all of your tips useful. As someone who for the most part has been self taught on Access, your website is a great resource.

In any case, I'm trying to figure out how to create a Report that will give me a Birthday Calendar. Something like "January" with names of the people whose birthday is in January, and the day of the person's birthday listed under it. All in one page, with all months listed. Any thoughts? Read More...
Add a Reply

Post a New Comment or Question
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.

You may want to read these articles from the 599CD News:

8/6/2020Access Sync Up Remote Database
8/6/2020Access Customer Codes
8/5/2020Access Custom Sequential Number
8/4/2020Access Restore Deleted AutoNumber
8/1/2020Access Custom Sort Order
7/30/2020Access SharePoint Seminar
7/29/2020Microsoft Access Developer 16
7/29/2020Is There a Free Version of Access?
7/28/2020Access Disallow Editing Data
7/25/2020Access NZ Function NULL to Zero

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Account Login
Online Theater
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Waiting List
Production Schedule
Collapse Menus
Live Chat
Customer Support
WalkThru Tutorials
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
MYOLP Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Live Chat
General Info
Support Policy
Contact Form
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

YouTube Channel    LinkedIn

Blog RSS Feed   
Keywords: access tips birthday datepart  PermaLink