I am programing with ASP using the VB script language.
I am working on IIS and I need to query to a DBASE 5 table that I have.
I want to use an SQL statement to get certain records that match a specific value. Problem is I don;t know how to open the recordset.
I can open up the connection to the database ok.
I can even get all the records from the table by us using:
objRS.Open "EMPLOYEE.dbf", objConn,,,adCmdTable
but now I need to use a SQL statment. Here is my code:
Set objRS = Server.CreateObject("ADODB.Recordset"
sql = "SELECT * FROM EMPLOYEE WHERE EMPLOYEE.Id_no = " & id_num
objRS.Open sql, objConn
Thanks,
I can't seem to find info on accessing Dbase table using ASP anywhere!!!!
-Frustrated Programmer
I am working on IIS and I need to query to a DBASE 5 table that I have.
I want to use an SQL statement to get certain records that match a specific value. Problem is I don;t know how to open the recordset.
I can open up the connection to the database ok.
I can even get all the records from the table by us using:
objRS.Open "EMPLOYEE.dbf", objConn,,,adCmdTable
but now I need to use a SQL statment. Here is my code:
Set objRS = Server.CreateObject("ADODB.Recordset"
sql = "SELECT * FROM EMPLOYEE WHERE EMPLOYEE.Id_no = " & id_num
objRS.Open sql, objConn
Thanks,
I can't seem to find info on accessing Dbase table using ASP anywhere!!!!
-Frustrated Programmer