Results 1 to 6 of 6

Too many fields defined.

  1. #1
    cebrower is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2018
    Location
    Spring Lake, MI
    Posts
    45

    Too many fields defined.

    I have a select query that has not been modified recently but when I run it I get an error message "Too many fields defined." The query is based on two tables that also have not been modified recently. Neither table exceeds the 255 field maximum.



    I've compacted and repaired the front end and the back end databases, and I re-created the tables using copy/paste structure only and appended all the records from the original tables. No luck. Any suggestions?

  2. #2
    Ajax is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    7,433
    it may be the error description is misleading since (as I think you have found) it refers to changing table design.

    does each user have their own copy of the front end?

    is there code which affects the report structure in any way?

    If there is code involved, have you decompiled (different to compact/repair)?

    you mention you get this error when printing - what about review?

  3. #3
    cebrower is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2018
    Location
    Spring Lake, MI
    Posts
    45
    You may not have noticed, but I revised my initial post. The problem seems to be the query behind the report. When I run the query I get the "Too many fields" error.

    The query is based on two tables linked by a common field (InvoiceNumber). Neither table exceeds the 255 field limit. There are 102 fields on the definition grid. I have un-compiled and re-compiled and re-created both tables using copy/paste structure only. No luck.

  4. #4
    Ajax is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    7,433
    I replied to the post as originally posted which said the query ran OK and the issue was with printing the report that uses the query.

    I still maintain the error description may be misleading so all my questions, with the exception of the last one, still apply. With your revised post I would also suggest copy the sql to notepad, create a new query then copy and paste the sql from notepad to the sql window of the new query. This should get rid of any corruption that may exist in the query.

    102 fields is a very 'wide' query. It would also be helpful to explain what the query does.

  5. #5
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    14,207

  6. #6
    cebrower is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2018
    Location
    Spring Lake, MI
    Posts
    45
    Had a sudden brainstorm: I re-created the query from scratch. It works perfectly. Thanks for all your suggestions.

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

Similar Threads

  1. Replies: 11
    Last Post: 10-13-2018, 01:58 PM
  2. Too many fields defined, Access 2010
    By khughes46 in forum Database Design
    Replies: 3
    Last Post: 04-04-2014, 01:41 PM
  3. Non-Saved user defined fields for reports
    By mrmims in forum Reports
    Replies: 3
    Last Post: 11-30-2013, 05:10 PM
  4. Replies: 5
    Last Post: 03-13-2012, 11:53 AM
  5. Too many fields defined??
    By stryder09 in forum Access
    Replies: 1
    Last Post: 04-08-2011, 11:00 AM

Posting Permissions

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