Computing.Net > Forums > Office Software > HOW2 Import Txt File to end COLUMNS

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

HOW2 Import Txt File to end COLUMNS

Reply to Message Icon

Name: kev100
Date: November 9, 2004 at 11:24:43 Pacific
OS: XP PRO
CPU/Ram: PENT/512
Comment:

I have 2 TEXT files of data. Both are comma delimited, files.

They IMPORT into an Access Table just FINE.

HOWEVER. I need to import the SECOND data file as addtional FIELDS (columns) of an EXISTING database.

When I IMPORT the data file into an existing table now....it adds the data to the END of the database (appends it) as additional records.

I NEED to import that data as additional FIELDS.

Example:

I have an existing table of 5000 records with 10 fields. I have a text file with 5000 entries of 4 data items each.

I need to import that text file into the Existing 5000 record table so that the table will afterwards still have 5000 records but 14 fields.

Currently, when I important data from that text file into the existing table....I end up with 10,0000 records.

Any advice GREATLY appreciated.
THANKS !



Sponsored Link
Ads by Google

Response Number 1
Name: mdow
Date: November 10, 2004 at 09:07:16 Pacific
Reply:

Add you four fields to you existing table. Create a temporary table to hold your second dataset. Import you data into the temp table. Then write an update query to update the original table with the information stored in the temp table. Match records using the common key.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: HOW2 Import Txt File to end COLUMNS

Cannot Import TXT file to Access www.computing.net/answers/office/cannot-import-txt-file-to-access/549.html

Importing text file to EXCEL www.computing.net/answers/office/importing-text-file-to-excel/4176.html

Import .txt to Access 2003 www.computing.net/answers/office/import-txt-to-access-2003-/9668.html