Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Of Birth Query Question.... 1

Status
Not open for further replies.

PaulinKC

Programmer
Apr 2, 2002
50
US
I've got a problem that I can seem to figure out. Guess that's why I'm posting here huh?

Anyway... here's my problem.

I've got a table - tblEmployee that has various fields, one in particular is DOB, which is the employee's Date OF Birth in MM/DD/YYYY format.

What I am wanting to do is run a query against just that table and have the results only show those records which the employee's DOB is the same as the current month - i.e Employee: Jane Smith DOB: 02/27/1900

Is there a way to show those records where the month in the DOB is the same as the current month? I looked at DateDiff so on and so on, but haven't found a resolution in any of my searches on here or anywhere else.

Some help would be GREATLY appreciated!
 
Terry thanks for your help! Worked great on the sql database. Now, another question if you don't mind, how would I do this if it were in Access 2000 format and not SQL? I know the same select statement won't work b/c I already tried it :)

Thanks again for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top