ralphtrent
Programmer
Hi I keep getting -1 when I call rs.recordcount, Why?
set rs=Server.CreateObject("ADODB.Recordset"
rs.CursorType = 3
rs.open sql,conn
response.write("<th>Total Records Found: "&rs.RecordCount&"</th>"
%>
The rest of the code works fine, its just when I try to return the total records returned. I am using Sybase Database. Let me know if you need further data.
set rs=Server.CreateObject("ADODB.Recordset"
rs.CursorType = 3
rs.open sql,conn
response.write("<th>Total Records Found: "&rs.RecordCount&"</th>"
The rest of the code works fine, its just when I try to return the total records returned. I am using Sybase Database. Let me know if you need further data.