I have an ASP that I connect to a db when I submit the page. I have the following code:
set rs = server.CreateObject("ADODB.Recordset"
sSQL = "select * from evaluations where evaluatorid = " & Request.Form("TimeKeeper"
strConn = "Driver={SQL Server}; Server=Enaksystems; Database=AKData; Uid=evaluser; Pwd=pwdeval;"
set akdataConn = Server.CreateObject("ADODB.Connection"
akdataConn.Open(strConn)
rs = akdataConn.Execute(sSQL)
The Execute command has the following parameters:
Execute(CommandText, RecordsAffected, [Options])
This is the ADO 2.7 version but I want to use ADO 2.6 which does not require "RecordsAffected".
How can I change this? I do have .net installed on the same machine.
TIA
Nate
set rs = server.CreateObject("ADODB.Recordset"
sSQL = "select * from evaluations where evaluatorid = " & Request.Form("TimeKeeper"
strConn = "Driver={SQL Server}; Server=Enaksystems; Database=AKData; Uid=evaluser; Pwd=pwdeval;"
set akdataConn = Server.CreateObject("ADODB.Connection"
akdataConn.Open(strConn)
rs = akdataConn.Execute(sSQL)
The Execute command has the following parameters:
Execute(CommandText, RecordsAffected, [Options])
This is the ADO 2.7 version but I want to use ADO 2.6 which does not require "RecordsAffected".
How can I change this? I do have .net installed on the same machine.
TIA
Nate