Hello all
Im having another issue with connecting to a db and pulling only a record matching the one posted
im using the following code to connect
ive also tried it as follows with no luck
i must just be missing something I know this eror is normally related to column names but i have my table named appropriately
can anyone be of assistance to me?
Thanks in advance for any help or suggestions
Im having another issue with connecting to a db and pulling only a record matching the one posted
im using the following code to connect
Code:
<!--#include file="adovbs.inc"-->
dim Comp,UN,PW
set UN=Request.Form("UN")
set PW=Request.Form("PW")
dim objConn,objRec
set objConn=Server.CreateObject("ADODB.Connection")
objConn.Provider="Microsoft.Jet.OLEDB.4.0"
objConn.Open Server.MapPath("master.mdb")
Set objRec = Server.CreateObject("ADODB.Recordset")
objRec.Open "SELECT * FROM USERS WHERE [UN]=" & UN & "",objConn,1,3 'line 25
i receive the following error
Microsoft JET Database Engineerror '80040e10'
No value given for one or more required parameters. /logme.asp, line 25
ive also tried it as follows with no luck
i must just be missing something I know this eror is normally related to column names but i have my table named appropriately
can anyone be of assistance to me?
Code:
<!--#include file="adovbs.inc"-->
dim Comp
UN=Request.Form("UN")
PW=Request.Form("PW")
dim objConn,objRec
set objConn=Server.CreateObject("ADODB.Connection")
objConn.Provider="Microsoft.Jet.OLEDB.4.0"
objConn.Open Server.MapPath("master.mdb")
Set objRec = Server.CreateObject("ADODB.Recordset")
objRec.Open "SELECT * FROM USERS WHERE [UN]=" & UN & "",objConn