|
-
June 20th, 2001, 12:06 PM
#1
Importing a MS Access table from one database to another via code
I am using VB 6.0 with an Access 2000 database. I am most familiar with ADO. Is there a way to import or copy a table from an Access database into a different Access database? I need the complete table, data and all. I know how to create a table and copy the data from one recordset to another, but not to import an existing complete table (if possible). Thanks in advance.
Catrina
-
June 20th, 2001, 12:24 PM
#2
Re: Importing a MS Access table from one database to another via code
You can use a SQL Query to do this
INSERT INTO MyTable IN 'd:\data\biblio.mdb' SELECT * FROM tblApplication
This will select all the data from tblApplication and instert it into MyTable in another database
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|