J
JulieD
hi all
i have a query - SQL view
SELECT Month([AttendDate]) AS MonthNumber, ztbl_Department.Department,
Sum(TBL_Courses.CourseCost) AS SumOfCourseCost
FROM (ztbl_Department INNER JOIN TBL_Staff ON ztbl_Department.Department =
TBL_Staff.Department) INNER JOIN (TBL_Courses INNER JOIN TBL_CoursesAttended
ON TBL_Courses.CourseName = TBL_CoursesAttended.Course) ON TBL_Staff.StaffID
= TBL_CoursesAttended.StaffID
GROUP BY Month([AttendDate]), ztbl_Department.Department;
which displays the Months as a number (1 = Jan etc), how do i (in the same
query) format the months to show in words - i've tried
Months: Format(Month([AttendDate]) ,"mmm")
but it doesn't work.
Cheers
JulieD
i have a query - SQL view
SELECT Month([AttendDate]) AS MonthNumber, ztbl_Department.Department,
Sum(TBL_Courses.CourseCost) AS SumOfCourseCost
FROM (ztbl_Department INNER JOIN TBL_Staff ON ztbl_Department.Department =
TBL_Staff.Department) INNER JOIN (TBL_Courses INNER JOIN TBL_CoursesAttended
ON TBL_Courses.CourseName = TBL_CoursesAttended.Course) ON TBL_Staff.StaffID
= TBL_CoursesAttended.StaffID
GROUP BY Month([AttendDate]), ztbl_Department.Department;
which displays the Months as a number (1 = Jan etc), how do i (in the same
query) format the months to show in words - i've tried
Months: Format(Month([AttendDate]) ,"mmm")
but it doesn't work.
Cheers
JulieD