ODBC without DSN

D

David Wood

is it possible to create/use a link from an Access 2000 front-end database,
to a SQL Server 7 backend database, using ODBC, without using a DSN?

Any advice appreciated!
 
T

Tony Toews

David Wood said:
is it possible to create/use a link from an Access 2000 front-end database,
to a SQL Server 7 backend database, using ODBC, without using a DSN?

To add to Cheryl's posting.

Using DSN-Less Connections
http://members.rogers.com/douglas.j.steele/DSNLessLinks.html
ODBC DSN-Less Connection Tutorial Part I
http://www.amazecreations.com/datafast/GetFile.aspx?file=ODBCTutor01.htm&Article=true
HOWTO: Use "DSN-Less" ODBC Connections with RDO and DAO
http://support.microsoft.com/?id=147875

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
L

loadhigh

Use ADO:

Dim cnn as new ADODB.Connection

cnn.Provider="sqloledb"
cnn.Open "Data Source=[ServerName],Initial
Catalog=[DataBaseName]",[Userid],[Password]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top