Solved

Acc97-IMPORT SSN from Excel or TXT

Posted on 1998-10-02
3
432 Views
Last Modified: 2008-02-07
I have an Excel-97 file and a TXT file I need to import into Access and merge on SSN. Cell is formatted as text in both files.  Access says it has a conversion error and does not load any records where SSN starts with a 0(zero)!!! There must be a way to do this. I can't believe a million other people don't need to do this! Yet the ZIP code formatted exactly the same way comes in great. The only difference I can see is 9-digits vs. 5-digits.????
0
Comment
Question by:ronallard
3 Comments
 

Expert Comment

by:JCreson
ID: 1964348
You may have to create an Import spec for your text file.  When you set up your import, look at the Advanced button in the lower left corner of the Import Wizard.  With that, you can set up a spec to get the data into the types you need.
Hope that helps...
0
 
LVL 3

Accepted Solution

by:
kaldrich earned 50 total points
ID: 1964349
Ah, yes, this brings back fond memories.  What you need to do is concatenate information in the Excel file, copy and paste it specially, and delete the original row.  To do this:

1. Copy your file.

2. In the copied file, create a row next to your SS# row.

3. Set the first value in it as = '"' & (Cell your SS# is in) & '"'.  This should create a field that looks like this: "999999999".  Copy the formula down to the bottom.

4. Highlight the column and copy it.

5. Go into Edit, Paste Special, and select "Values".

6. Delete your original column of SS#s.

7. Do your import.

Hope this helps.  Thanks.

Kevin
0
 

Author Comment

by:ronallard
ID: 1964350
Thanks - works great!
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

830 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