Results 1 to 3 of 3
  1. #1
    afshin is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Apr 2011
    Posts
    65

    error message:"Too many crosstab column headers (226)"

    In source data of my chart, because that data is more, access informed to me that
    "Too many crosstab column headers (226)"
    Have any way to resolve this?
    Attached Thumbnails Attached Thumbnails inc229.png  

  2. #2
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,927
    only by having two or more crosstabs and then linking them on suitable fields. But note there is a maximum number of columns of 255 for a query anyway so it won't get you much further.

    If you go this route, if you end up with differing numbers of rows due to there being records in one crosstab and not the other (and visa versa) the standard solution is to have a third query which lists all the possible rows (e.g. all customers) which is then left joined to the crosstabs

  3. #3
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,927
    just noticed the error says 266 columns, you have stated 226 - so suspect there is not a solution as such resulting in a single query. Google 'Access maximum values' to find out what the limits are.

    You might want to re-examine the business needs to see if you can limit the number of columns in some way

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

Similar Threads

  1. Crosstab Column Headings and "0" for null values
    By cdnicholson in forum Queries
    Replies: 1
    Last Post: 10-28-2015, 02:15 PM
  2. Create a "Totals" row for each column in crosstab
    By accessnewbie352 in forum Queries
    Replies: 13
    Last Post: 01-06-2015, 12:28 PM
  3. Suppress "Error" message following "Cancel = True"
    By GraeagleBill in forum Programming
    Replies: 7
    Last Post: 03-23-2014, 05:40 PM
  4. Replies: 11
    Last Post: 11-26-2010, 10:53 PM
  5. Replies: 8
    Last Post: 11-12-2010, 10:55 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
  •  
Other Forums: Microsoft Office Forums