I keep getting the error
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'editRS'
/clientedit/edit.asp, line 266
with the following code
the line in question has this on it
can anyone help with the problem?
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'editRS'
/clientedit/edit.asp, line 266
with the following code
Code:
Server.ScriptTimeout = 1000
username = request.form("username")
password = request.form("password")
If Session("user") <> true then
loginSQL = "SELECT * FROM dataqfol WHERE username LIKE '" & username & "' AND password LIKE '" & password & "'"
Set loginRS = server.CreateObject("ADODB.recordset")
loginRS.open loginSQL, objConn
if loginRS.EOF then
Response.Redirect("unknown.asp")
else
Session("user") = true
end if
else
SQL = "SELECT * FROM dataqfol WHERE username LIKE '" & username & "' AND password LIKE '" & password & "'"
Set editRS = server.CreateObject("ADODB.recordset")
editRS.open SQL, objConn
if editRS.EOF then
Response.Redirect("unknown.asp")
end if
end if
the line in question has this on it
Code:
<%= editRS("Company") %>
can anyone help with the problem?