PRB: CursorType Returns adOpenStatic When You Request adOpenDynamic from a Server-Side Recordset (306385)
The information in this article applies to:
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
- Microsoft SQL Server 7.0
- Microsoft SQL Server 7.0 Service Pack 1
- Microsoft SQL Server 7.0 Service Pack 2
- Microsoft SQL Server 7.0 Service Pack 3
- Microsoft ODBC Driver for SQL Server 2000.80.194
- Microsoft SQL Server 2000 (all editions) 8.0
- Microsoft SQL Server 2000 (all editions) SP1
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP3
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP4
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP5
This article was previously published under Q306385 SYMPTOMS
When you use a Microsoft SQL Server stored procedure to request a dynamic recordset with the CursorLocation property set to adUseServer, the recordset is returned with a CursorType of adOpenStatic instead of adOpenDynamic.
This problem only occurs if there are user-defined variables in the stored procedure or SQL commands such as SET NOCOUNT ON.
STATUS
Microsoft is currently reviewing this issue and updates will be added to this article as they become available.
REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
123008 HOWTO: Set Up ODBC Data Sources When Distributing Apps
171146 HOWTO: Create and Remove a DSN in Visual Basic
306388 PRB: CursorType Returns adOpenStatic from Server-Side Recordset and Behaves Like a Forward-Only Recordset
Modification Type: | Major | Last Reviewed: | 6/30/2004 |
---|
Keywords: | kbpending kbprb KB306385 |
---|
|