Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / May 2005

Tip: Looking for answers? Try searching our database.

Recordset Copy

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lucotuslim - 08 May 2005 14:53 GMT
Can anyone recommend the most optimized way to extract data from more than
one Access files to other Access file.

Currently I have more than 20 Access files, I need to execute their Queries
(all the same structure), Copy and then Paste to one Master Access file’s
Table.

Signature

Lucotus

David Lloyd - 09 May 2005 16:27 GMT
Lucotus:

You can use the IN syntax in a database query to reference a table or query
in another database.

For example:

INSERT INTO NewTable
Select * FROM QueryRemote IN C:\myremotedatabase.mdb

You could create a looping structure to loop through all of your Access
files, specifying their location, and executing the INSERT INTO query.

Signature

David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.

Can anyone recommend the most optimized way to extract data from more than
one Access files to other Access file.

Currently I have more than 20 Access files, I need to execute their Queries
(all the same structure), Copy and then Paste to one Master Access file's
Table.

Signature

Lucotus

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.