Check what you have in "
strFilter" after the line:
Code:
If strFilter > "" Then strFilter = Mid(strFilter, 6)
If "
eventdatestart" is defined as Date/Time, filtering by year means (with '
YYYY' being the chosen year):
Code:
eventdatestart BETWEEN #1/1/YYYY# AND #12/31/YYYY#
and this only if the Time part is set to '
00:00:00' (or is not stored), otherwise the upper limit must be: '#12/31/YYYY 23:59:59#', or you must change the comparison to:
Code:
eventstart >= #1/1/YYYY# AND eventstart < #1/1/YYYY+1#