Solved

Acc97-IMPORT SSN from Excel or TXT

Posted on 1998-10-02
3
446 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Omit After Update event 5 43
ms access - Helpdesk ticket system 5 46
Want my table columns to autofit. 7 58
question about a text field with default value 5 27
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

737 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