We help IT Professionals succeed at work.

Adding ODBC Entry

huferry
huferry asked
on
Medium Priority
167 Views
Last Modified: 2010-04-05
How do I add an ODBC Entry (with MS Access, SQL Server driver. Or any other driver) on run time?

Comment
Watch Question

Commented:
Hi
I've added it to
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI
Add first desired ODBC entries manually and look what are the appropriate key values
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
As I understand you need to create an alias on runtime.
If that's what you are looking for then you should see this. It's in delphi and has sourcecode attached.

http://www.jrsoftware.org/files/AddAlias.zip

Author

Commented:
I've not tried AddAlias but I read the readme, it is to add BDE entry not ODBC, right?
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.