PRB: "Too Many Columns Defined in the Rowset" Error Message (192141)
The information in this article applies to:
- ActiveX Data Objects (ADO) 1.5
- ActiveX Data Objects (ADO) 2.0
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q192141 SYMPTOMS
Running under versions of Microsoft Data Access Components (MDAC) prior to 2.5, you get the following error when choosing a Recordset object:
Run-time error '-2147024882 (8007000e)'
Too many columns defined in the rowset.
Running under MDAC 2.5 and later, you get the following error:
Run-time error '-2147024882 (8007000e)':
Rowsets cannot contain more than 2048 columns.
CAUSE
Prior to MDAC 2.5, the client-cursor engine supported a maximum of 255 fields.
Under MDAC versions 2.5 and later, the client-cursor engine supports a maximum of 2048 fields.
RESOLUTION
If possible, use a server-side cursor, or select fewer fields.
If you are using between 256 and 2048 fields, you may upgrade to MDAC 2.5 or later to workaround. You may download the latest version of the Microsoft Data Access Components from the following site:
STATUS
This behavior is by design. It is a design limitation of the client-cursor
engine.
REFERENCES
For more information about ActiveX Data Objects, please refer to your
Microsoft Visual Studio documentation.
Modification Type: | Minor | Last Reviewed: | 3/2/2005 |
---|
Keywords: | kbDatabase kbfix kbprb KB192141 |
---|
|