PC Review


Reply
Thread Tools Rate Thread

Batch Export Multiple Tables

 
 
=?Utf-8?B?TWVsaXNzYQ==?=
Guest
Posts: n/a
 
      13th Jan 2006
I want to export ten tables to another database. TransferDatabase seems to be
only able to export one table. Is there a way to export all ten tables at
once?

Thanks!
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      13th Jan 2006
Use TransferDatabase 10 times, or write a loop.

This link contains example code to create a database file, loop through all
the tables in the current database, skip system tables, temp tables, and
those marked not for backup, and export the rest into the new database,
logging any errors:
http://allenbrowne.com/unlinked/backup.txt

--
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.

"Melissa" <(E-Mail Removed)> wrote in message
news:44FFCBD5-1550-4FE9-8FEE-(E-Mail Removed)...
>I want to export ten tables to another database. TransferDatabase seems to
>be
> only able to export one table. Is there a way to export all ten tables at
> once?
>
> Thanks!



 
Reply With Quote
 
=?Utf-8?B?TWVsaXNzYQ==?=
Guest
Posts: n/a
 
      13th Jan 2006
Thanks again, Allen!

"Allen Browne" wrote:

> Use TransferDatabase 10 times, or write a loop.
>
> This link contains example code to create a database file, loop through all
> the tables in the current database, skip system tables, temp tables, and
> those marked not for backup, and export the rest into the new database,
> logging any errors:
> http://allenbrowne.com/unlinked/backup.txt
>
> --
> 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.
>
> "Melissa" <(E-Mail Removed)> wrote in message
> news:44FFCBD5-1550-4FE9-8FEE-(E-Mail Removed)...
> >I want to export ten tables to another database. TransferDatabase seems to
> >be
> > only able to export one table. Is there a way to export all ten tables at
> > once?
> >
> > Thanks!

>
>
>

 
Reply With Quote
 
'69 Camaro
Guest
Posts: n/a
 
      16th Jan 2006
Hello, Steve Santus.

Having another identity crisis? Perhaps you shouldn't repeat the same fake
names to post under. It makes it easier to find you when you're being
deceptive. You've already used Melissa Baker, Melissa Roberts, and Melissa
Smith:

http://groups.google.com/group/micro...099e4f5bc60121

http://groups.google.com/group/micro...9f4be6957cca7e

http://groups.google.com/groups?q=mr...e=off&num=100&

http://groups.google.com/groups?q=ms...e=off&num=100&

Perhaps you could try some new ones. Melissa Jones is too obvious. But who
would suspect it was really PC Datasheet if you used Grace? :-)

HTH.
Gunny


"Melissa" <(E-Mail Removed)> wrote in message
news:44FFCBD5-1550-4FE9-8FEE-(E-Mail Removed)...
>I want to export ten tables to another database. TransferDatabase seems to
>be
> only able to export one table. Is there a way to export all ten tables at
> once?
>
> Thanks!



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export multiple tables/queries at once klkropf Microsoft Access 1 9th Jun 2009 11:22 PM
export multiple tables into one XML file =?Utf-8?B?TmF0aGFuIE1hZXJ0ZW5z?= Microsoft Access External Data 2 18th Jun 2007 06:37 PM
multiple tables batch updation using dotnet Krishna Microsoft C# .NET 0 3rd Mar 2004 11:12 PM
How to export multiple tables to one XML file Mohammed Hasan Microsoft Access 2 15th Sep 2003 12:50 AM
Export multiple tables at once to Excel. HELP! Kay Ree Microsoft Access 5 21st Jul 2003 04:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:29 AM.