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

Connect String with DSN parameter not defaulting to the specified DSN

Status
Not open for further replies.

mozgheib

Programmer
Dec 14, 2003
50
KW
Hello,

I am recreating my external links by dropping
them and then recreating them and finally refreshing.
Now when asked to log on I am presented with the "Select
data source" dialog box despite the fact I have specfied
my dsn already in my connect statement see below :

tdfLinked.Connect = "Odbc; dsn = oriontest; database = scd"


What am I doing wrong.


Thanks.
 
Don't know if this makes a difference but I have always created this connect string without spaces.

Code:
tdfLinked.Connect = "Odbc;dsn=oriontest;database=scd"

I can't test this here at my home office as I don't have access to an ODBC connection but when I active with these I never included spaces and never had a problem.

[COLOR=006633]Bob Scriver[/color]
MIState1.gif
[COLOR=white 006633]MSU Spartan[/color]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top