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

Linking SQL tables using code?

Status
Not open for further replies.

sfn6

Programmer
Aug 30, 2001
11
US
I'm writing an app for distribution and need to use SQL linked tables. Going the file, get external data, link tables..works fine on my machine where I have the dsn set up and know the dsn name.

My concern is someone installing this app and having a different dsn name. In that case the links will not work because of the difference. My co-workers who have developed the forms use the record source drop down and select one of the linked tables (Access 2000) to use as a record source.

How can I set up these linked tables at start up using a user supplied dsn name? Any help is appreciated.
 
Okay, I think I may have found something that will help me.

Q209862 in the MS Knowledgebase.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top