After using "convert" in my SQL atatement, the ASP page shows following errors:
*****************************************
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Undefined function 'convert' in expression.
*****************************************
Do you have any idea what happened here?
For your reference, here is my code:
"select count(*) as TotalCount, convert(datetime, Date) as Date1 from MyTable where Date between #" & fromDate & "# and #" & toDate & "# group by convert(datetime, Date)"
I think that is the problem. I checked Jet-SQL, there is no "convert" function. I will try other ways to get this work done. If you guys come up new solution, please let me know also.
Thanks for all the information!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.