ciao ragazzi...ho bisogno che diate un'okkiatina a questo codice...
...mi fa quest'errore:codice:<% dim rndLuogo rndLuogo=1 dim rndLuogoEvento rndLuogoEvento=1 dim strPassdb strPassdb="" dim strOutput Set Conn=Server.CreateObject("ADODB.Connection") strConn="driver={Microsoft Access Driver (*.mdb)}; " strConn=strConn & " DBQ=" & Server.MapPath("database.mdb") strConn=strConn & ";pwd=" & strPassdb Conn.Open (strConn) strSqlLuogo = "SELECT * FROM LUOGO" strSqlLuogoEvento = "SELECT * FROM LUOGHI WHERE ID_LUOGO = " & rndLuogoEvento strSqlEvento = "SELECT * FROM LUOGHI_EVENTI WHERE ID_LUOGO = " & rndLuogoEvento Set rsLuogo = Conn.Execute(strSqlLuogo) Set rsLuogoEvento = Conn.Execute(strSqlLuogoEvento) Set rsEvento = Conn.Execute(strSqlEvento) %>
Tipo di errore:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E07)
[Microsoft][Driver ODBC Microsoft Access] Tipi di dati non corrispondenti nell'espressione criterio.
/lino/prova 1/index.asp, line 25
Diciamo che ho appena iniziato a fare il mio primo sito in ASP!!!


Rispondi quotando