Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'jobnumber ='.
/site/signoutjob.asp, line 6
I have on a previous page a drop-down box with jobnumbers pulling from my db1 that the user selects in order to edit\change.
My problem is that when a job number is selected and the form submitted the display form is not displaying the job nubmer selected. Here's my syntax
<%
job = session("dtsearch"
sql = "SELECT * FROM jobs where jobnumber = "'job'"
Dim RSjob
set RSjob=server.createobject("ADODB.recordset"
RSjob.open sql, "DSN=matte"
%>
dtsearch if the name of my drop-down box.
Tony