By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,474 Members | 3,141 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,474 IT Pros & Developers. It's quick & easy.

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

P: n/a
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 ;-)

Sep 4 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.

<le************@hotmail.comwrote in message
news:11*********************@b28g2000cwb.googlegro ups.com...
>
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 ;-)

Sep 5 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.