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

Connecting to MSSQL server via VBA

Status
Not open for further replies.

satchi

Programmer
Sep 15, 2003
104
US
Hi, I'm relatively new to VBA but know basic SQL, VB, etc. I have a remote MS SQL server 2000 database that I want to connect to via Access (2000). My question is, how would I go about to setting up a connection to the SQLserver database, and then copy the table onto an Access table?

I know I need to set up an ODBC link, but not really sure how to begin. Any suggestions is appreciated. Thanks!
 
I think this will help:
Connecting to DB on remote server with ODBC
thread333-1251424
 
Thanks for the replies. I know a little more about how connections between Access and my MS*SQLserver works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top