I'm trying to show information in a list box, but only dates that are up to 10 days prior to the current date. This is the SQL I wrote: SELECT [LeaveDatesID], [LeaveRequestID], [LeaveDate], [WorkLeave], [LeaveHours] FROM qrySchLeaveDates2 WHERE <Date() And >=Date()-10 ORDER BY [LeaveDate];
I got this error: