Connecting Tech Pros Worldwide Help | Site Map

Export table from old Access 2002 Database to create a new database

 
LinkBack Thread Tools Search this Thread
  #1  
Old September 4th, 2006, 11:25 PM
learning_codes@hotmail.com
Guest
 
Posts: n/a
Default Export table from old Access 2002 Database to create a new database

Hi ,

I'm wondering if there is a way for me to export some tables including
data and structure from old database to a new database and then save as
new database name.

I try to create a marco and it create a new table within the same
database.

I would be appreciated if you can help me to create a code for one
button that will export selected tables to a new database and then save
as a new database name file.

Thanks ;-)


  #2  
Old September 5th, 2006, 12:15 AM
Allen Browne
Guest
 
Posts: n/a
Default Re: Export table from old Access 2002 Database to create a new database

There's some example code here:
http://allenbrowne.com/unlinked/backup.txt

It creates a new database, and loops through the tables in the current
database, writing them to the new database. If a table is skipped (e.g.
currently locked), it writes that to an error log.

It exports the data into the backup file, whether the tables are linked or
local. It does not create relations, or set all the field properties.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<learning_codes@hotmail.comwrote in message
news:1157413122.083228.93930@b28g2000cwb.googlegro ups.com...
Quote:
>
I'm wondering if there is a way for me to export some tables including
data and structure from old database to a new database and then save as
new database name.
>
I try to create a marco and it create a new table within the same
database.
>
I would be appreciated if you can help me to create a code for one
button that will export selected tables to a new database and then save
as a new database name file.
>
Thanks ;-)

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.