Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

transfering data from one database to another 1

Status
Not open for further replies.

balllian

MIS
Jan 26, 2005
150
GB
What is the best and easiest way to transfer a whole table from one database to another within a macro?? Can i use the transfertext functionality to move the data across??

If this is possible what specification name would i have to give it if at all??

thanks in advance.
 
Have a look at TransferDatabase.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
i have entered the following for transferdatabase

Transfer Type: Export
Database Type: Microsoft Access
Database Name: pageviews.mdb
Object Type : Table
Table : Combined
Destination : C:\weblog1\Weblog2\page_views.mdb
Structure Only: No

Is this the correct way to layout what im trying to achieve??
 
Yes. ive corrected it now to read as follows.

Transfer Type: Export
Database Type: Microsoft Access
Database Name: C:\weblog1\Weblog2\page_views.mdb
Object Type : Table
Table : Combined
Destination : Combined1
Structure Only: No

I wasnt sure if i needed to put the table and the destination info in a different format rather than just name them as i have done.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top