Birthday

manojsikar1

Registered User.
Local time
Today, 07:36
Joined
Nov 11, 2012
Messages
15
Hello evryone...
can any one plz help me out to list Today's Birthday in form....
I have list of students in my query....I want some criteria were I can get the list of students whose b'day are today...

plz help
 
All you need is a query along the lines of ...

Code:
SELECT * FROM yourTable WHERE Format([yourBirthdayField],"mmdd") = " & Format(Now(), "mmdd")

This basically picks out any dates where the "Month and Day" part of your field matches todays' "Month and Day".

Or, if you are using the query design page, a column something like BD:Format([yourBirthdayField],"mmdd") with the criteria Format(Now(), "mmdd")
 
thnx dear it really worked....
 
You're welcome and ... welcome to the forum. :)
 

Users who are viewing this thread

Back
Top Bottom