|
Posted by Erland Sommarskog on 10/01/14 11:32
Eugene Anthony (solomon_13000@yahoo.com) writes:
> I did this:
>
>
> Set rs = Server.CreateObject("ADODB.Recordset")
> rs.Open "Exec usp_retrieveOptions",objConn,1,1
> response.write rs.RecordCount
>
> and im still getting -1
Do you set the cursor location anywhere? The .CursorLocation is a
property on the connection object. Set it to adUseClient.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Navigation:
[Reply to this message]
|