ACC2000: "Too Many Fields Defined" Error Message Saving Table (198504)
The information in this article applies to:
This article was previously published under Q198504 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb).
For a Microsoft Access 2002 version of this article, see 291556.
SYMPTOMS
When you save a table after you add a new field or change the properties
of an existing field, you receive the message:
Too many fields defined.
This message is followed by:
Errors were encountered during save. Data types were not changed.
You receive these messages even though you have 255 or
fewer fields defined in the table. NOTE: You also receive this message if you add or modify fields in a report that is based on a table that has too many fields.
CAUSE
The internal column count that Microsoft Access uses to track the number of
fields in the table has reached 255, even though you may have fewer than
255 fields in the table. This can happen because Access does not change the internal column count when you delete a field. Access also creates a new field (increasing the internal column count by 1) for every field whose properties you modify.
RESOLUTION
To free the internal column count for deleted fields or for fields whose
properties you modify, do one of the following: - Compact the database. On the Tools menu, point to Database Utilities, and then click Compact and Repair Database.
- Create a new copy of the table. To do so, follow these steps:
- Make note of any relationships with the table.
- Select the table.
- On the File menu, click Save As.
- In the Save Table 'table name' To box, type a new name. Click OK.
- Select the same table that you selected in step 2, and then press DELETE.
- Rename the table that you saved in step 3 to the original table name.
- Re-establish any relationships with the new table.
REFERENCESFor more information about database specifications, click Microsoft Access Help on the
Help menu, type Microsoft Access specifications in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kberrmsg kbprb KB198504 |
---|
|