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

connection strings with ado

Status
Not open for further replies.

DTSFreak

IS-IT--Management
Feb 24, 2005
28
NL
Hi,

I was wondering how i could set connection strings from info in a table.

I have a table where i store the following data about connections:

Id
DataProvider
NetworkLibrary
DataSource
PortNr
Database
UID
PWD (don't know if i should store that in a table)

Also i have forms which get their recordsets from several databases. So i
want to adjust my ado connection function to use different connections by
getting the connection info from my table.

How can i do this?
 
I can't think of anything that would prevent you from building the connection string from the components in the table.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top