Tuesday, 17 October 2017

How To Fix Access "Too Many Fields Defined" Error Message?


Scenario:
I keep getting an error from my form/query that says I have to many fields defined. One table has about 200 fields but I thought a form could have several hundred fields...???
I don’t know how to deal with this issue. 

Are you too getting the same "Too Many Fields Defined" error message each time when you try to save a table in Access? If yes, then I think this blog is the right place to resolve such issue. Solution mentioned below is applicable for all versions of Access i.e 2002, 2007, 2010, 2013, 2016. 

Symptoms

When you save a table after adding a new field or change the properties of an existing field , you will get the following error messages:

Too many fields defined.

The message is followed by:

Errors were encountered during save. Data types were not changed.

You get this error message also when you have 255 or fewer fields defined in the table.

NOTE: 

You will get this error 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 less than 255 fields in the table. This can happen because access doesn’t change the internal column count when you delete a field. Access creates a new field for every field whose properties you modify.

Resolution To Fix “Too Many Fields Defined” Error 

To free the internal column count for deleted fields or for fields whose properties you modify, follow the below mentioned steps:
Compact the database. To do so, point to Database Utilities on the Tools menu, and then click Compact and Repair Database.
-or-
Create a new copy of the table. To do so, follow these steps:
1. Make note of any relationships with the table.
2. Select the table.
3. On the File menu, click Save As.
4. In the Save Table 'table name' To box, type a new name, and then click OK.
5. Select the same table that you selected in step 2, and then press DELETE.
6. Rename the table that you saved in step 3 to the original table name.
7. Again set-up the relationships with the new table.

Automatic Solution : To Resolve Access Too Many Fields Defined Error

If performing such operation results to loss of your Access records then you must use the recommended tool i.e Access Repair And Recovery. As it is the best recommended option to resolve such kind of data loss issue from your Access application.


This advance solution provide perfect recovery and restoring of access database with all queries, table’s structure, primary key’s, table’s data and objects. This is the best repair tool to repairs database all corruption issue. It is a perfect solution to get back your corrupted MDB file and all object.

 Conclusion:

In Access you can insert 255 fields in a table. So if you make 255 fields and then delete 10, access doesn’t releases the fields from the internal column count. Also , for each field whose properties you change or update, access creates a new fields and doesn’t releases the original field from the internal column count.

1 comment: