In a SELECT query I want to compare a date (e.g. 10/02/2017) with the dates from the table 'Activity' by using this code :
SELECT ... FROM ... WHERE Members.membernr>=1 and cdate(Activity.Date)=cdate("10/02/2017") ORDER BY ....
I returns the following error :
Microsoft VBScript compilation error '800a0401'
Expected end of statement
Activity.Date = Date/Time field (short notation)
I think the code in bold is not correct?
Thanks for correction tips.
SELECT ... FROM ... WHERE Members.membernr>=1 and cdate(Activity.Date)=cdate("10/02/2017") ORDER BY ....
I returns the following error :
Microsoft VBScript compilation error '800a0401'
Expected end of statement
Activity.Date = Date/Time field (short notation)
I think the code in bold is not correct?
Thanks for correction tips.