ho creato pagina ma il server mi fornisce questo errore...come lo risolvo??
Error:
Microsoft OLE DB Provider for ODBC Drivers errore "80040e14'
[Microsoft][Driver ODBC Microsoft Access] Errore di sintassi (operatore mancante) nell'espressione della query 'codiceutente = and ceck = '0''.
/posta_in_arrivo.asp, riga 8
ASP:
<% Set OBJdbConnection = Server.CreateObject("ADODB.Connection")
OBJdbConnection.Open"driver={Microsoft Access Driver (*.mdb)};dbq=c:\Asp_sky\Skyweb.mdb"
%>
<%codice_posta=request.form("codice_posta")%>
<%ceck_retr=""%>
<%sql5="select ceck from Posta where codiceutente = "&codice_posta&" and ceck = '0' "%>
<%Set RS5=OBJdbConnection.Execute(sql5)%>
<%Do while NOT RS5.EOF%>
<%ceck_retr=rs5("ceck")%>
<%RS5.MoveNext%>
<%Loop%>
<%if ceck_retr = "0" Then%>
<%Response.Write("ceck_posta=OK&")%>
<%else%>
<%Response.Write("ceck_posta=fallito")%>
<%end if%>
<%OBJdbConnection.Close%>
Error:
Microsoft OLE DB Provider for ODBC Drivers errore "80040e14'
[Microsoft][Driver ODBC Microsoft Access] Errore di sintassi (operatore mancante) nell'espressione della query 'codiceutente = and ceck = '0''.
/posta_in_arrivo.asp, riga 8
ASP:
<% Set OBJdbConnection = Server.CreateObject("ADODB.Connection")
OBJdbConnection.Open"driver={Microsoft Access Driver (*.mdb)};dbq=c:\Asp_sky\Skyweb.mdb"
%>
<%codice_posta=request.form("codice_posta")%>
<%ceck_retr=""%>
<%sql5="select ceck from Posta where codiceutente = "&codice_posta&" and ceck = '0' "%>
<%Set RS5=OBJdbConnection.Execute(sql5)%>
<%Do while NOT RS5.EOF%>
<%ceck_retr=rs5("ceck")%>
<%RS5.MoveNext%>
<%Loop%>
<%if ceck_retr = "0" Then%>
<%Response.Write("ceck_posta=OK&")%>
<%else%>
<%Response.Write("ceck_posta=fallito")%>
<%end if%>
<%OBJdbConnection.Close%>