Hi! I'm really new to asp and getting this error on our webcalendar page. This error just started happening with no changes made to the page.. have any ideas??
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'Cal_User_ID ='.
/webcalendar/calendar.asp, line 1593
Thanks in advance!
----------------------------------------------
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'Cal_User_ID ='.
/webcalendar/calendar.asp, line 1593
Thanks in advance!
----------------------------------------------
Code:
If UseSQLServer = "YES" then
SQLc = "SELECT Cal_User_EventColor FROM Cal_User WHERE Cal_User_ID = " & Session("Cal_User_ID")
Else
SQLc = "SELECT Cal_User_EventColor FROM Cal_User WHERE Cal_User_ID = " & Session("Cal_User_ID")
End If
Comment