Hi,
I know I'm doing something wrong, but I don't know what.
Basically I have 1 file where the user selects which username to amend and then they are passed to this file, the username field is the primary key in the database.
I get the following error msg:-
Microsoft OLE DB Provider for ODBC Drivers error '80040e10'
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
/revcontrol/prs/useradmin/edit.asp, line 20
I have the following code:-
<%
dim conn, rs, strconn
strconn = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("../database/prs.mdb")
set conn = server.createobject("adodb.connection")
conn.open strconn
set rs = conn.Execute("SELECT * FROM users WHERE username=" &Request("username")) <---- This is line 20
%>
Can somebody point me in the right direction, as I know I missing something....
TIA
Steve