Results 1 to 6 of 6
  1. #1
    Rashkavar is offline Novice
    Windows XP Access 2003
    Join Date
    Oct 2013
    Posts
    1

    Table has more than 255 fields? But it only has 149...and needs more

    First of all, we're not looking for help splitting our oversized 149 field table apart. We tried that, couldn't get our heads around it, and the people who teach Access at the local college couldn't figure it out either. So we're unfortunately stuck with an oversized single table rather than having several smaller, more on topic tables.



    We now need to add a few more points of data to our database. When we try to add a new field in design view, we get "Error 3190 - too many fields." According to the help file, this specifically it thinks we're trying to make a table with more than 255 fields (which is an understandable limit; Microsoft was a bit frugal with how they designed the format, so there's a maximum number of fields, and 255 should be more than anyone could reasonably expect to use). The problem is, if you actually count them, there are only 149 fields in the table. Most computers are sufficiently good at math to realize that 149+1=150, not 256.

    Does anyone have any idea what could cause this discrepancy?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    The 255 is for the life of the design phase of the table so it remembers fields that were added and then removed. Have you tried a Compact and Repair yet? Tables with a 1:1 relationship with each other are rare but not unheard of and not that difficult to achieve.

  3. #3
    KathyL is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    94
    You could use a Make Table query to generate a new table with the current table, and it probably will then think it's 149 fields. You will likely loose indexes, but you can set them back up. Another slower process would be to redesign a duplicate new table, and use an Append query to append in all your records. So I really think you can get around this, and get Access back to counting the fields correctly in this one table.

    Compact and Repair won't have any impact on your issue.

    I've reached the 255 field point... always fun to have to split tables and figure out how you want to change your design... but that's what application designers do.

  4. #4
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    It is rare to see a "normalized" table in a relational database with 140+ fields.
    You may wish to review your design and normalize your data before proceeding with your current structure.
    As I said, rare, but not impossible.

    You may get some ideas from this link
    http://www.rogersaccesslibrary.com/T...lationship.zip

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    I just did a test of creating table with 255 fields, then deleted some fields. After running Compact & Repair I could add more fields.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by June7 View Post
    I just did a test of creating table with 255 fields, then deleted some fields. After running Compact & Repair I could add more fields.
    I hope you did it programmatically.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 08-22-2013, 08:47 PM
  2. Replies: 2
    Last Post: 06-05-2013, 03:18 PM
  3. Replies: 1
    Last Post: 07-06-2012, 05:32 PM
  4. Replies: 11
    Last Post: 09-15-2011, 03:52 PM
  5. Replies: 5
    Last Post: 03-20-2010, 08:30 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums