MSQUERY: Error Adding 256 Fields Using Excel Data Source

ID: Q123003


The information in this article applies to:


SYMPTOMS

In Microsoft Query, when you create a query using the Microsoft Excel data source, and you add a field or multiple fields to the query so that the number of fields in the query is greater than 255, you receive the following error message:

The number of output columns can't exceed 255


CAUSE

In Microsoft Query, you cannot add more than 255 fields to a query created with a data source that uses the single-tiered driver. Data sources that use the single-tiered driver are dBASE3, FoxPro, Excel, Paradox, Access 1.0, dBASE4, and Btrieve.

This behavior occurs even when you use the Microsoft Excel data source, even though in Microsoft Excel, you can create a worksheet that contains 256 columns of data. Because the same driver is used to read and create database files for Microsoft Access, each data source that uses this driver has the same limitation.

For additional information, please see the following article(s) in the Microsoft Knowledge Base:

Q110601 Microsoft Query: dBASE Files and Field Limits


REFERENCES

For more information about how to Add Fields (Cue Cards), choose the Search button in Help and type:


   fields: adding 

Additional query words: 5.00 5.00c ISAM


Keywords          : 
Version           : 1.00 2.00
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: July 15, 1999