Solved

Exporting data from Excel to Access

Posted on 2012-03-27
13
438 Views
Last Modified: 2012-03-27
I have an excel spreadsheet that I am trying to export to Access. However, it will not export. It tells me that The first row contains some data that cant't be used for valid access field names. In these cases, the wizard will automatically asign valid field names. Then it lets me continue. Unitl I push the finish button.

It tells me that "Tracking" is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long. I dont understand how Tracking is not a valid name. Enclosed is my excel spreadsheet.
CONUS-Shipment-Tracker-03-26-12-.xlsx
0
Comment
Question by:gigifarrow
  • 8
  • 4
13 Comments
 
LVL 75
ID: 37772407
0
 
LVL 29

Expert Comment

by:Randy Downs
ID: 37772409
Your attached file shows as 0 bytes.
0
 
LVL 75
ID: 37772424
FYI ... I'm unable to open the file.  If I change the extension to XLS .. it opens, but with a blank sheet.

mx
0
 
LVL 75
ID: 37772428
Check EACH field for any special characters, although some will be allowed.  Definitely problematic are parens, slashes, dots ... and a few more.

Also ... be SURE no field names have a Line Feed & Carriage Return ... I just ran into that last week.

And as noted by Helen ... a Space at the beginning of the column name ...

mx
0
 

Author Comment

by:gigifarrow
ID: 37772541
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 270 total points
ID: 37772552
There is a Space before Tracking ... remove the space.

mx
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 75
ID: 37772557
Also:

Carrier  (FedEx,UPS, LANDSTAR,ROADWAY,CONWAY…)

No can have parens or dots ...

Check ALL your column names ...

mx
0
 
LVL 75
ID: 37772567
space
0
 
LVL 29

Expert Comment

by:Randy Downs
ID: 37772587
I am not using Office 2007 but I am able to save the 1st sheet as a .csv no problem. It does look like you have an unprintable character (e.g. space) on the end of tracking, so try deleting that.
0
 
LVL 29

Expert Comment

by:Randy Downs
ID: 37772593
Also look for trailing characters on the rest of your 1 word fields.
0
 
LVL 29

Expert Comment

by:Randy Downs
ID: 37772600
Quantity  Destination have a trailing character.
0
 
LVL 75
ID: 37772602
No can have parens or dots ... >> No can have parens or dots OR commas ... etc.

mx
0
 
LVL 75
ID: 37772621
I'm not sure trailing spaces are a problem ... as I think Access automatically drops them off during importing ...

mx
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now