Using Access 2003 (2000 format)
Following is the SQL for a query
The problem is the piece of code in Bold print. I want to pull just the Month and Year from the MeetingDate field, and show that as a Date value, but it extracts as String.
I have also tried #" & Format(MeetingDate, "mmmm yyyy") & "# but that results in "the expression entered has invalid date value."
Suggestions would be appreciated.
Tom
Following is the SQL for a query
Code:
SELECT tblAttendance.MeetingDate, tblAttendance.MeetingTypeID, Format([MeetingDate],"mmmm yyyy") AS MonthYear
FROM tblAttendance
GROUP BY tblAttendance.MeetingDate, tblAttendance.MeetingTypeID, [b]Format([MeetingDate],"mmmm yyyy")[/b]
HAVING (((tblAttendance.MeetingTypeID)=1));
The problem is the piece of code in Bold print. I want to pull just the Month and Year from the MeetingDate field, and show that as a Date value, but it extracts as String.
I have also tried #" & Format(MeetingDate, "mmmm yyyy") & "# but that results in "the expression entered has invalid date value."
Suggestions would be appreciated.
Tom