R
Rohn
I have a query with a birth date that I separated out by Month, Day, Year... here is the SQL for the Query:
SELECT [First_Name] & " " & [Last_Name] AS Name, dbo_EMPLOYEE.BIRTH_DATE, dbo_EMPLOYEE.ADDRESS_1, dbo_EMPLOYEE.CITY, dbo_EMPLOYEE.STATE, dbo_EMPLOYEE.ZIP_1, Month([BIRTH_DATE]) AS [Month], Day([BIRTH_DATE]) AS [Date], Year([BIRTH_DATE]) AS [Year]
FROM dbo_EMPLOYEE
WHERE (((dbo_EMPLOYEE.BIRTH_DATE) Like [Enter BirthMonth: 1 - 12]) AND ((dbo_EMPLOYEE.TERMINATE_DATE) Is Null));
I open my report and the connected query asks me to select a month (1- 12) then I have the report displaying the current month at the top of the report. I am trying to see all employees who have a birthday that month. Everything works fine, except that the month shows the number that I selected and not the alphabet month. Like, I choose 5 for May and I want May to be displayed at the top of my report? How can I do that? Is it a simple format somewhere that I am missing?
I know, simple issue..... but it bugs me.
_____
Rohn Everson
SELECT [First_Name] & " " & [Last_Name] AS Name, dbo_EMPLOYEE.BIRTH_DATE, dbo_EMPLOYEE.ADDRESS_1, dbo_EMPLOYEE.CITY, dbo_EMPLOYEE.STATE, dbo_EMPLOYEE.ZIP_1, Month([BIRTH_DATE]) AS [Month], Day([BIRTH_DATE]) AS [Date], Year([BIRTH_DATE]) AS [Year]
FROM dbo_EMPLOYEE
WHERE (((dbo_EMPLOYEE.BIRTH_DATE) Like [Enter BirthMonth: 1 - 12]) AND ((dbo_EMPLOYEE.TERMINATE_DATE) Is Null));
I open my report and the connected query asks me to select a month (1- 12) then I have the report displaying the current month at the top of the report. I am trying to see all employees who have a birthday that month. Everything works fine, except that the month shows the number that I selected and not the alphabet month. Like, I choose 5 for May and I want May to be displayed at the top of my report? How can I do that? Is it a simple format somewhere that I am missing?
I know, simple issue..... but it bugs me.
_____
Rohn Everson