import error... (1 Viewer)

yavahn

New member
Local time
Today, 05:12
Joined
Oct 16, 2009
Messages
6
Hi All
I'm trying to import info from an Excel file into an Access 2007 database, but it gives me the error message:
" is not a valid field name.
What is causing this? I'm trying to over-write the original table, so it should not be trying to force formatting within the existing fields....or so I think.
Anyone know what I can do to remedy this?
Attached is an image of the pop-up
 

Attachments

  • access.jpg
    access.jpg
    17.3 KB · Views: 92
Last edited:

PNGBill

Win10 Office Pro 2016
Local time
Today, 14:12
Joined
Jul 15, 2008
Messages
2,271
Why not give it a new table name and then append the data from one table to the other.
 

yavahn

New member
Local time
Today, 05:12
Joined
Oct 16, 2009
Messages
6
Hi PNGBill
I tried to import it with a different name, but got the same error.
Could this be something to do Access 2007 vs 2003?
In the older databases, the import of this specific table works
 

boblarson

Smeghead
Local time
Yesterday, 19:12
Joined
Jan 12, 2001
Messages
32,059
1. make sure you have no hidden characters in the columns of the spreadsheet (including the areas you aren't actually importing).

2. It is possible that a space or a line feed is in one of the cells and it is causing the problem.
 

vbaInet

AWF VIP
Local time
Today, 03:12
Joined
Jan 22, 2010
Messages
26,374
Since it's referring to a field name, check ALL the field names and ensure that none of them contain invalid/problem characters like:

Space, #, $, comma (,), -, !, [] or {} or (), period (.), quotes etc...
 

gemma-the-husky

Super Moderator
Staff member
Local time
Today, 03:12
Joined
Sep 12, 2006
Messages
15,726
if its a spreadsheet, and not a csv, then there may be some "bogus" columns

try selecting all the columns to the right of the last one, and deleting them

then access wont think there are some more spurious columns
 

boblarson

Smeghead
Local time
Yesterday, 19:12
Joined
Jan 12, 2001
Messages
32,059
if its a spreadsheet, and not a csv, then there may be some "bogus" columns

try selecting all the columns to the right of the last one, and deleting them

then access wont think there are some more spurious columns

Exactly! That is what I wanted to express but didn't come close :D
 

Users who are viewing this thread

Top Bottom