Board index » delphi » Copy a table from a .MDB to other .MDB

Copy a table from a .MDB to other .MDB

does anyone know how to copy one table from a .MDB to other different .MDB?

Thanks.

 

Re:Copy a table from a .MDB to other .MDB


On Wed, 4 Jul 2001 20:10:59 +0200, "sna" <SPAM...@menta.netQUITAR>
wrote:

Quote
>does anyone know how to copy one table from a .MDB to other different .MDB?

>Thanks.

Just cut-n-paste.

In Access, select the table you want to copy.  Right click, and
select "Copy".

Close that .MDB, and open the one you want to add the copy
to.  Right click, and select Paste.  It'll ask if you want to paste
just the structure, or the structure and the data.  (I think there
may be another choice there, too, but I can't think of what it
is.  Append data, maybe?)  

Just fill out that box and hit OK, and it's done.

--
Stephen Whitis
Email replies should go to...
scw120198 (at) whitis.com

The address in the header is not valid.

Re:Copy a table from a .MDB to other .MDB


Sorry, maybe i wasn't clear. I need to do it programming delphi.

Quote
> does anyone know how to copy one table from a .MDB to other different
.MDB?

Re:Copy a table from a .MDB to other .MDB


On Thu, 5 Jul 2001 18:54:53 +0200, "sna" <SPAM...@menta.netQUITAR>
wrote:

Quote
>Sorry, maybe i wasn't clear. I need to do it programming delphi.

>> does anyone know how to copy one table from a .MDB to other different
>.MDB?

Here is an SQL method from M. H. Avegaart just a few days ago:

SELECT *  INTO Table1 IN "other.mdb"
FROM Table1

Also, look up Heterogenous joins in the LocalSQL help. That shows how
to work with two different DBs at the same time.

HTH,
Dan
--
Dan Brennand
CMDC systems, inc.
Configuration Management and Document Control:
visit us at www.cmdcsystems.com
[SPAM block: change at to @ in my e-mail address]

Other Threads