Valery
Registered User.
- Local time
- Today, 12:48
- Joined
- Jun 22, 2013
- Messages
- 363
Hi all,
I have a query - here is the coding:
I would like it to return, on my daily to do list form, the clients whose birthday = today's date
The date field property is Date/Time with the format set at dd mmm yyyy in the table's field property.
I would like to keep my Regional Settings as they are, that is:
Short Date: dd-MMM-yy
Long Date: dddd, MMMM dd, yyyy
I have tried several syntax in the query (where the question marks are right now) with a fake record containing a birthdate set at today's date but in 1962... it returns no records...
FYI: as a test, put in #22-Feb-62#, and it did show that one record.
Thank you for your help!
I have a query - here is the coding:
Code:
[COLOR=#1f497d][FONT=Calibri][SIZE=3][FONT=Calibri]SELECT Patients.BirthDate, [FirstName] & " " & [LastName] AS FullName, Patients.Email[/FONT][/SIZE][/FONT][/COLOR]
[COLOR=#1f497d][FONT=Calibri][SIZE=3][FONT=Calibri]FROM Patients[/FONT][/SIZE][/FONT][/COLOR]
[COLOR=#1f497d][FONT=Calibri][SIZE=3][FONT=Calibri]WHERE (((Patients.BirthDate)=[B]?????need coding here?????[/B]) AND ((Patients.Email) Is Not Null) AND ((Patients.Deactivate_Ind)="N"));[/FONT][/SIZE][/FONT][/COLOR]
I would like it to return, on my daily to do list form, the clients whose birthday = today's date
The date field property is Date/Time with the format set at dd mmm yyyy in the table's field property.
I would like to keep my Regional Settings as they are, that is:
Short Date: dd-MMM-yy
Long Date: dddd, MMMM dd, yyyy
I have tried several syntax in the query (where the question marks are right now) with a fake record containing a birthdate set at today's date but in 1962... it returns no records...
FYI: as a test, put in #22-Feb-62#, and it did show that one record.
Thank you for your help!