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

ODBC connection -Please help

Status
Not open for further replies.

DPUser

Technical User
Oct 17, 2003
16
US
I have a datase that needs to be linked up to a database via an ODBC connection. I have linked up the table in the usual way.
-right click on tables
-select link tables
-click on files of type
-scroll down to ODBC databases
-Go to "Machine Data source" tab
-select desired database
-enter pass/user
-select desired tables
A world icon appears indicating a linked table

I want to be able to insert the name of the database, user and password in textboxes, then VBA would establish an ODBC connection. I would apperciate any help.

Thank you

 
Can be done, set a up a module (actually two one to open and one to close the connection and clean up) reference the appropriate packages in the reference section and code it like a VB project

Bastien

Any one have a techie job in Toronto, I need to work...being laid off sucks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top