472,362 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,362 software developers and data experts.

Import data (not tables) from one Access database to another?

We've created a new database and need to import the data from our old
database. Both are MS Access databases and each have multiple tables. The
table structure of each table is completely different from each other, but
the actual fields of the data we need to move exist in both tables.

From what I see in the MS Access help I can only find how to import a
complete table from another Access database.

How can I import the data from table 1 of one file into various tables in
the second file?

e.g. Move the like data from the tables in FileOne to the tables in FileTwo.
(notice that the field names may not be the same between the tables)

FileOne.MDB --------
Table1
Name C20
Address C30

Table2
City C20
Phone C15

FileTwo.MDB --------
Table1
Name C20
LandPhone C15 <--data from Phone field in FileONe
CellPhone C15

Table2
Address C30
City C20
Postal C10

Thx!
Nov 13 '05 #1
6 7188
Link to the tables in database1 and use a series of append queries on each table
to move the selected data in each table to the appropriate table in database2.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Noozer" <do*******@me.here> wrote in message
news:D9PNc.131264$ek5.9195@pd7tw2no...
We've created a new database and need to import the data from our old
database. Both are MS Access databases and each have multiple tables. The
table structure of each table is completely different from each other, but
the actual fields of the data we need to move exist in both tables.

From what I see in the MS Access help I can only find how to import a
complete table from another Access database.

How can I import the data from table 1 of one file into various tables in
the second file?

e.g. Move the like data from the tables in FileOne to the tables in FileTwo.
(notice that the field names may not be the same between the tables)

FileOne.MDB --------
Table1
Name C20
Address C30

Table2
City C20
Phone C15

FileTwo.MDB --------
Table1
Name C20
LandPhone C15 <--data from Phone field in FileONe
CellPhone C15

Table2
Address C30
City C20
Postal C10

Thx!

Nov 13 '05 #2
The database application has a function called an "insert query" which will
do exactly what you want in one step. I am new to Access so I don't know if
Access has the same type of query. If not, someone with Paradox can do it
for you and return the data as MS Access tables.

"Noozer" <do*******@me.here> wrote in message
news:D9PNc.131264$ek5.9195@pd7tw2no...
We've created a new database and need to import the data from our old
database. Both are MS Access databases and each have multiple tables. The
table structure of each table is completely different from each other, but
the actual fields of the data we need to move exist in both tables.

From what I see in the MS Access help I can only find how to import a
complete table from another Access database.

How can I import the data from table 1 of one file into various tables in
the second file?

e.g. Move the like data from the tables in FileOne to the tables in FileTwo. (notice that the field names may not be the same between the tables)

FileOne.MDB --------
Table1
Name C20
Address C30

Table2
City C20
Phone C15

FileTwo.MDB --------
Table1
Name C20
LandPhone C15 <--data from Phone field in FileONe
CellPhone C15

Table2
Address C30
City C20
Postal C10

Thx!

Nov 13 '05 #3
> The database application

I meant the database application called Paradox.
has a function called an "insert query" which will
do exactly what you want in one step. I am new to Access so I don't know if Access has the same type of query. If not, someone with Paradox can do it
for you and return the data as MS Access tables.

"Noozer" <do*******@me.here> wrote in message
news:D9PNc.131264$ek5.9195@pd7tw2no...
We've created a new database and need to import the data from our old
database. Both are MS Access databases and each have multiple tables. The table structure of each table is completely different from each other, but the actual fields of the data we need to move exist in both tables.

From what I see in the MS Access help I can only find how to import a
complete table from another Access database.

How can I import the data from table 1 of one file into various tables in the second file?

e.g. Move the like data from the tables in FileOne to the tables in

FileTwo.
(notice that the field names may not be the same between the tables)

FileOne.MDB --------
Table1
Name C20
Address C30

Table2
City C20
Phone C15

FileTwo.MDB --------
Table1
Name C20
LandPhone C15 <--data from Phone field in FileONe
CellPhone C15

Table2
Address C30
City C20
Postal C10

Thx!


Nov 13 '05 #4
What about creating a make table query in the old database to the new database??
"Noozer" <do*******@me.here> wrote in message news:<D9PNc.131264$ek5.9195@pd7tw2no>...
We've created a new database and need to import the data from our old
database. Both are MS Access databases and each have multiple tables. The
table structure of each table is completely different from each other, but
the actual fields of the data we need to move exist in both tables.

From what I see in the MS Access help I can only find how to import a
complete table from another Access database.

How can I import the data from table 1 of one file into various tables in
the second file?

e.g. Move the like data from the tables in FileOne to the tables in FileTwo.
(notice that the field names may not be the same between the tables)

FileOne.MDB --------
Table1
Name C20
Address C30

Table2
City C20
Phone C15

FileTwo.MDB --------
Table1
Name C20
LandPhone C15 <--data from Phone field in FileONe
CellPhone C15

Table2
Address C30
City C20
Postal C10

Thx!

Nov 13 '05 #5
Sorry, an append query not a make table query. You may need to create
a link to the old database to the new database to do the append query.

Once it's done delete the query and the link and you should be set.

Lynn

"Noozer" <do*******@me.here> wrote in message news:<D9PNc.131264$ek5.9195@pd7tw2no>...
We've created a new database and need to import the data from our old
database. Both are MS Access databases and each have multiple tables. The
table structure of each table is completely different from each other, but
the actual fields of the data we need to move exist in both tables.

From what I see in the MS Access help I can only find how to import a
complete table from another Access database.

How can I import the data from table 1 of one file into various tables in
the second file?

e.g. Move the like data from the tables in FileOne to the tables in FileTwo.
(notice that the field names may not be the same between the tables)

FileOne.MDB --------
Table1
Name C20
Address C30

Table2
City C20
Phone C15

FileTwo.MDB --------
Table1
Name C20
LandPhone C15 <--data from Phone field in FileONe
CellPhone C15

Table2
Address C30
City C20
Postal C10

Thx!

Nov 13 '05 #6
"Noozer" <do*******@me.here> wrote in message news:<D9PNc.131264$ek5.9195@pd7tw2no>...
We've created a new database and need to import the data from our old
database. Both are MS Access databases and each have multiple tables. The
table structure of each table is completely different from each other, but
the actual fields of the data we need to move exist in both tables.

From what I see in the MS Access help I can only find how to import a
complete table from another Access database.

How can I import the data from table 1 of one file into various tables in
the second file?

e.g. Move the like data from the tables in FileOne to the tables in FileTwo.
(notice that the field names may not be the same between the tables)

FileOne.MDB --------
Table1
Name C20
Address C30

Table2
City C20
Phone C15

FileTwo.MDB --------
Table1
Name C20
LandPhone C15 <--data from Phone field in FileONe
CellPhone C15

Table2
Address C30
City C20
Postal C10

Thx!

You can temporarily attach the tables, write a bunch of append queries
with the correct criteria (start with a select query first!) and then
run those. Once that's done, you don't need the attached tables
anymore and you can delete them.
Nov 13 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Doug Baroter | last post by:
Hi, One of my clients has the following situation. They use Access DB for data update etc. some business functions while they also want to view the Access data quickly and more efficiently in...
5
by: steve | last post by:
Hi, When I copy tables in a database from one server to another using enterprise manager, everything copies ok, except for field defaults. Has anyone seen this, and what is the solution? --...
5
by: Kajol | last post by:
Hi All, can u plz tell me how to import data from mysql to another database. & how to export data from anotherdata base to mysql Thanx for ur Advice Regards Kajol
3
by: Jon Ole Hedne | last post by:
My Access 2002-application need to work with tables from both Oracle and Access. To solve this, I want to run some querys on three views in Oracle and import the results into temporary...
2
by: Dave | last post by:
We just shifted to Access 2003 at work. I have a database that contains information that is updated each month with another (source) Access file. To update the fields in our database, I built...
5
by: strauss.sean | last post by:
Hi! I am trying to import a query as a table from a MS Access database in a specified drive, path, and filename; my filenames and paths are being stored in a table for easy reconfiguration....
1
by: David Berry | last post by:
Hi All. I'm looking for any help or sample code that can show me how to make a file import wizard in ASP.NET (VB preferred) like the one that MS Access uses. I'm working on a web site where the...
7
by: Randy | last post by:
Folks: We have a web-based app that's _really_ slowing down because multiple clients are writing their own private data into a single, central database. I guess the previous programmer did...
1
by: tezza98 | last post by:
I need some help. Im using a dtsrun command to import 9 tables into an Access database, most of the tables have about 1000 rows, but one has 20000+ rows and grows everyday. Im Using Access 2003...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.