kbrooks
Still learning
- Local time
- Today, 15:50
- Joined
- May 15, 2001
- Messages
- 202
I have a database with only 2 fields...Name and Birthdate.
I have this query set up to generate a list of people that have birthdays today:
This works fine and does give me the correct list, but it's putting each record on it's own row. What I'd like to do is have them all on one row, separated by commas. (John Doe, Bob Smith, Jane Johnson)
Is this possible?
I have this query set up to generate a list of people that have birthdays today:
Code:
SELECT Birthdays.Birthdate, Birthdays.Name, DateSerial(Year(Date()),Month([Birthdate]),Day([Birthdate])) AS CurrBD
FROM Birthdays
WHERE (((DateSerial(Year(Date()),Month([Birthdate]),Day([Birthdate])))=Date()))
ORDER BY DateSerial(Year(Date()),Month([Birthdate]),Day([Birthdate]));
This works fine and does give me the correct list, but it's putting each record on it's own row. What I'd like to do is have them all on one row, separated by commas. (John Doe, Bob Smith, Jane Johnson)
Is this possible?