FIX: ActualSize Property of the ADODB Recordset Returns -1 After Getchunk Is Called to Retrieve Data (277993)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Data Access Components 2.6
This article was previously published under Q277993 SYMPTOMS
The ActualSize property of the ADODB recordset returns -1 after calling the Getchunk method to retrieve data.
This problem occurs only when you use the SQLOLEDB provider that ships with MDAC 2.6 with server-side cursors. This behavior does not occur if:
- The CursorLocation property of the recordset is set to adUseClient.
- MDAC version 2.5 or earlier is present.
- A different data provider is used.
RESOLUTION
Change the cursor location of the Connection object to adUseClient.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
This problem was corrected in Microsoft Data Access Components (MDAC) version 2.7.
Modification Type: | Major | Last Reviewed: | 11/7/2003 |
---|
Keywords: | kbBug kbfix KB277993 |
---|
|