Results 1 to 3 of 3
  1. #1
    NuNnDaDdY is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    2

    Max Number of Fields Brought In When Linked To Excel Table With 24 columns

    Hello,


    I am using Microsoft Access 2003 and currently have a linked table from Excel. The template spreadsheet only have 24 columns for users to fill out and submit. However, we are encountering some scenarios where the linked spreadsheet brings in the user columns and then includes columns 'F25' ... 'F256'. This is turn causes a 'Too Many Fields' error to occur. Is there something with the spreadsheet that is causing this or is a setting not being set correctly in Access. The method of import is currently using a spreadsheet with the first row containing columns names. Thank you very much.

  2. #2
    pkstormy's Avatar
    pkstormy is offline Access/SQL Server Expert
    Windows XP Access 2003
    Join Date
    Mar 2010
    Location
    Madison
    Posts
    682
    As you've discovered, you're probably encountering the maximum limitation of the number of fields a single MSAccess table can have (I believe it's 255). You may want to break up the spreadsheet into multiple sheets or excel files and if linking them into MSAccess, try to establish 1 column as a relational field type of column to join the different excel rows on. If you're importing them into MSAccess, again, minimize the # of columns to less than 255, establishing 1 column (probably the first column) as a 'unique key' type of column to join back together again with the other excel files.

    For example, you could number the first column with ascending numbers (uniquely) and break the excel file into multiple pieces making sure all the broken apart excel files maintain the same ascending (unique) numbers for the first column (and each excel file has less than 255 columns) so that when they are imported into MSAccess, there's no potential problems of records from one excel row not matching the appropriate record row in the 2nd, 3rd 4th excel file (with all the excel files having less than 255 columns).

    Kind of like breaking apart a jigsaw puzzle but numbering each piece so when the pieces are all put together again (after importing), you know where each piece (ie. record row) goes and how it matches to another piece of the puzzle. I hope that makes some kind of sense.

  3. #3
    NuNnDaDdY is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    2
    Hello,

    Thank you for your reply; however, the problem is that we only have 22 fields in the spreadsheet but Microsoft Access is reading in the blank columns as F23, F24..etc. I'm not sure why it thinks these are fields that contain data.

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

Similar Threads

  1. Using random fields in Excel to populate Access table
    By cryswater in forum Import/Export Data
    Replies: 3
    Last Post: 05-14-2013, 02:50 PM
  2. Linked table from outlook missing columns
    By nehamd4 in forum Access
    Replies: 0
    Last Post: 07-21-2010, 12:58 PM
  3. #Num, Linked Excel File
    By Rick West in forum Import/Export Data
    Replies: 5
    Last Post: 02-04-2010, 10:50 AM
  4. Replies: 3
    Last Post: 01-21-2010, 08:10 PM
  5. Replies: 3
    Last Post: 11-19-2009, 09:15 PM

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