forum.connectivity (1998-2005) & forum.td.connectivity (2005-2010)
Posted by: Jorge Aguilar Burga
Hi everybody, i need to deploy a application dialog box or form window to
select Server Name, database, user and password, after i select the
diferents options in this application, i connect to a database, the databses
are the same, but depends the time i need choose teh connection.
has any idea.
I think to read some DSN from odbc, but not all can send me a example.
Jonas Mandahl Pedersen
Posted by: Jonas Pedersen
I am not sure I understand your question 100%.
If you use the MS ODBC driver you could configure your Sql.ini like this:
Please note the remotedb name is just the alias for the database, so you can
call that what ever you like.
From TD you only use the alias when connecting.
Was that of any help?
- Posts: 300
- Joined: 07 Jun 2018, 15:13
- Location: Stuttgart, GER
Posted by: Michael Hummel
we do same things in some projects.
but we use OLEDB Connections, means UDL Files.
no odbc, no dsn, no sql.ini,
runs with TD 4.1 and later
create several UDL Files in your application folder
make a dialog, where you can choose an udl File
set SQLUDL = dfSelectedUDL
Who is online
Users browsing this forum: [Ccbot] and 0 guests