Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing *.txt files into multiple tables in access 97

Status
Not open for further replies.

Daz

Technical User
Nov 19, 2000
13
GB
Hi,

I have managed to create an export and import test routine for my dbase. What it does is the record that i am currently viewing on the form can be exported as one record only, this works fine with data from just one table. The way I collate the data to be exported is through a query.

The problem is the data that i need to export\import is in multiple tables. ie (Customer_Tbl and Comments_Tbl)and linked on the customers details on the form that i view. The export of the data is no problem, but how do i import the right data to the two tables? I created a specification file for the export\import, but i could not see how to inform the specification file that the data needs to be put into the two tables.

Can it be done, if so how?

Many Thanks

Daz
 
Can not do this (directly) through the import/export spec.

You COULD create a 'transient' table with all of the fields for all of the various tables and parse (use a series of append queries from the trransient table to the final tables) this info out to it's final destination.



MichaelRed
mred@duvallgroup.com
There is never time to do it right but there is always time to do it over
 
Sorry, forgot to note:

be sure to delete the entry (or entries) in the transient table after the transfer to the final tables.



MichaelRed
mred@duvallgroup.com
There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top