A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Table - Too many fields defined - Access 2000



 
 
Thread Tools Display Modes
  #1  
Old May 16th, 2004, 06:26 AM
Jones
external usenet poster
 
Posts: n/a
Default Table - Too many fields defined - Access 2000

We have a simple table set up for customers. The table only consists of 4 fields, CustID, Last Name, First Name, Middle Initial. All fields were originally set up as text for "data type".

We are now trying to change the CustID's data type to number. This is also our primary key in this table. When we save the table we get an error "too many fields defined". It will not allow a save unless we change it back to text.

Has anybody had this happen to them before, or possibly know why we are having this problem.

Any help is appreciated. Thanks.
Jones
  #2  
Old May 16th, 2004, 06:46 AM
TC
external usenet poster
 
Posts: n/a
Default Table - Too many fields defined - Access 2000

When you change the characteristics of a field (it's type, length, or
whatever), Access (really, the database engine MS Jet) create a new field
"behind the scenes". The limit of 255 fields includes those "behind the
scenes" ones. All you need to do, is to compact the database. This discards
the "behind the scenes" fields, and resets the internal count to the actual
(visible) # of fields. Then your change will work ok.

HTH,
TC


"Jones" wrote in message
...
We have a simple table set up for customers. The table only consists of 4

fields, CustID, Last Name, First Name, Middle Initial. All fields were
originally set up as text for "data type".

We are now trying to change the CustID's data type to number. This is

also our primary key in this table. When we save the table we get an error
"too many fields defined". It will not allow a save unless we change it
back to text.

Has anybody had this happen to them before, or possibly know why we are

having this problem.

Any help is appreciated. Thanks.
Jones



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:39 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.