Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 ASP Variable not going into SQL correctly.. Missing Operator

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2000-08-26 : 07:05:26
Bill writes "Here is my Error:

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'schedule_id ='.
/eqsched/edit2.asp, line 35


Here's my Code:

strSQL = "Update Schedule set Start_Time = '" & objstime & "', End_Time='" & objetime & "', room='" & objroom & "', person='" & objperson & "' where schedule_id =" & Request.QueryString("Sched") & ";"

the Sched is not coming in correctly, and the query can't execute.. hope that helps.."
   

- Advertisement -