Getur einhver sagt mér af hverju ég fæ þessa villumeldingu ->
Microsoft OLE DB Provider for ODBC Drivers error ‘80040e10’
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2.
/myforum/innskra.asp, line 21
hérna er asp kóðinn ->
<%
Dim objConn,query,rs,nafn1,lord1,blerg
Set objConn = Server.CreateObject(“ADODB.Connection”)
objConn.ConnectionString = “DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=” & Server.MapPath(“../db/users.mdb”) & “;”
objConn.Open
nafn1 = request.form(“nafn”)
lord1 = request.form(“lord”)
Set rs = Server.CreateObject(“ADODB.Recordset”)
Query = “SELECT * FROM users WHERE name=” & nafn1 & “ AND pass=” & lord1
rs.Open Query,objConn
%>
hvð í anskotanum getur verið að, hjálp!
Kv.
Skhyle