merge multiple databases

From: DIOS (sindizzy.pak_at_softhome.net)
Date: 05/10/04


Date: Mon, 10 May 2004 04:23:16 GMT

I have multiple Access97 databases that i want to merge into one single big
database. I have some ideas on how to do it but would like any suggestions
on doing the mrege more efficiently. Currently i am using a VB app to
connect to
the various databases via DAO. The tables look like so:

tblDrive
--------
DriveID (primary key)
fldTitle
fldDesc

tblFiles
--------
FileID (primary key)
DriveID
fldFTitle
fldFSize

tblSubFiles
-----------
SubFileID (primary key)
FileID
DriveID

Basically each drive has many files and each file has many subfiles. I was
going to iterate through each record in
tblDrive and then do a query with the DriveID and get all proper records
from tblFiles and add those to the new database
with a new DriveID. Then for my tblFiles recordset I was going to perform a
query with the same DriveID and the same
FileID and take those records and add them to the new database. This seems
like rather inefficient to me but i cant
see how to do it in a more elegant manner.

tia
AGP

-- 
**********************************************************************
Unpak my email address before sending me personal email
**********************************************************************


Relevant Pages

  • merge multiple databases
    ... DriveID (primary key) ... from tblFiles and add those to the new database ...
    (microsoft.public.access.queries)
  • merge multiple databases
    ... DriveID (primary key) ... from tblFiles and add those to the new database ...
    (microsoft.public.vb.general.discussion)
  • Re: merge multiple databases
    ... dump each table from each database into another new database. ... Click on the Queries icon. ... Click on> "Create new query", then select lnkDrive as the table to> work with. ... >> DriveID ...
    (microsoft.public.vb.database.dao)
  • Re: merge multiple databases
    ... dump each table from each database into another new database. ... Click on the Queries icon. ... Click on> "Create new query", then select lnkDrive as the table to> work with. ... >> DriveID ...
    (microsoft.public.vb.general.discussion)
  • Re: merge multiple databases
    ... dump each table from each database into another new database. ... Click on the Queries icon. ... Click on> "Create new query", then select lnkDrive as the table to> work with. ... >> DriveID ...
    (microsoft.public.access.queries)

Loading