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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I import data from a remote ODBC table into a local MS Access table?

How To

How do I import data from a remote ODBC table into a local MS Access table?

by  nashman  Posted    (Edited  )
I have seen a number of questions and requests for how to do this. I was doing a little investigation and found this interesting info on the Microsoft site.

Basically stated, through the SQL window of a regular query, you can run the INSERT INTO command using the ODBC connection string that you would have built with a pass-through query.

Knowing this, you can also very easily create this same SQL string and execute with the DoCmd.RunSql method in VBA.

Go check out the site for more info...

[link http://support.microsoft.com/kb/109824/en-us]MS Knowledge Base Article[/link]

Cheers!
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top