PC Review


Reply
Thread Tools Rate Thread

Open ODBC DSN on Startup

 
 
=?Utf-8?B?QmlsbCBQaGlsbGlwcw==?=
Guest
Posts: n/a
 
      16th Mar 2006
I would like to have my DSN connect automatically on startup. Do I have to
jump through all the hoops to use Dev Ashish' code or is there a simple set
of declarations to use. I am only connecting to one DSN and maybe 5 tables
max. I'm more than willing to write explicit code for each table just so my
users don't have to go through the ODBC login procedure.

I am using Access 2K.

Thanks in advance.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VHJhY3k=?=
Guest
Posts: n/a
 
      17th Mar 2006
Hi,

I'm not sure if this will work for you, however, this is what we did.

Click on the Start button
Click on Control Panel
Click on Adminstrative Tools
Click on Datasources (ODBC)
Click on System DSN tab
Click on Add
Scroll down and click on the desired path/server
Click Finish
Fill out the three text boxes, then click Next
On this next window, choose your radio button and check the box for "Connect
to SQL...)
Click next
complete the next screen as best for your organization.
Click next
check Perform translation for character data
Click Finish
Click Test Data Source

hope this helps, Tracy

"Bill Phillips" wrote:

> I would like to have my DSN connect automatically on startup. Do I have to
> jump through all the hoops to use Dev Ashish' code or is there a simple set
> of declarations to use. I am only connecting to one DSN and maybe 5 tables
> max. I'm more than willing to write explicit code for each table just so my
> users don't have to go through the ODBC login procedure.
>
> I am using Access 2K.
>
> Thanks in advance.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
>> Open ODBC.ini Jonathan Microsoft Access VBA Modules 4 24th Aug 2008 11:02 PM
How do I add to msconfig/startup or make a program open on startup =?Utf-8?B?Q2xvdWRjaGFzZXIgdGhlIFJlZCBXb2xmIGZ1cnJ5 Windows XP General 6 27th Sep 2006 02:50 AM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer Microsoft ASP .NET 0 24th Mar 2006 03:22 PM
Linking to ODBC tables on startup using dynamic username/password =?Utf-8?B?S3VydCBNb25yb2U=?= Microsoft Access Database Table Design 1 8th Oct 2004 08:06 PM
Need to relink ODBC table at startup. Jordan Microsoft Access External Data 3 23rd Jan 2004 10:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:06 PM.