PRB: Cannot Bind OLEDB DataGrid Control to Recordset That Does Not Support Bookmarks (278408)
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
- ActiveX Data Objects (ADO) 2.0
- ActiveX Data Objects (ADO) 2.1
- ActiveX Data Objects (ADO) 2.1 SP1
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
This article was previously published under Q278408 SYMPTOMS
When you attempt to bind an OLEDB DataGrid control to a forward-only or dynamic ActiveX Data Objects (ADO) recordset, you may receive the following run-time error message:
Run-time error '7004': The Rowset is not bookmarkable
CAUSE
You cannot bind the DataGrid control to recordsets that do not support bookmarks. The forward-only and dynamic ADO recordsets do not support bookmarks, and therefore cannot be specified as the DataSource for an OLEDB DataGrid control.
RESOLUTION
Bind the DataGrid to a bookmarkable recordset such as the keyset and static ADO recordsets.
Modification Type: | Major | Last Reviewed: | 1/11/2001 |
---|
Keywords: | kbDSupport kbprb KB278408 |
---|
|