L
Ludwin
Hi,
I have a form with a listfield in witch I want to show
data from an other Database. It's an Oracle over ODBC and
I make Connections? (Verknuepfung in German) to the
tables I need. When I open that form I am prompted for
Login parameters for the ODBC. That all works fine.
What I want is that the user is prompted one time with a
login form. I will instantiate an new database object
with a connection to his user-account on Oracle and then
assign this database object to the underlying query in
the list field.
Can this easily be done?
If not: I found that I can state the connection in the
queries DestConnectStr
as "ODBC;DNS=xyz;UID=ABC;PWD=IDK;". That will work too.
But how can I assign the DestConnectStr at runtime (after
the user entered his Login Information)?
TIA
Cheers Ludwin
I have a form with a listfield in witch I want to show
data from an other Database. It's an Oracle over ODBC and
I make Connections? (Verknuepfung in German) to the
tables I need. When I open that form I am prompted for
Login parameters for the ODBC. That all works fine.
What I want is that the user is prompted one time with a
login form. I will instantiate an new database object
with a connection to his user-account on Oracle and then
assign this database object to the underlying query in
the list field.
Can this easily be done?
If not: I found that I can state the connection in the
queries DestConnectStr
as "ODBC;DNS=xyz;UID=ABC;PWD=IDK;". That will work too.
But how can I assign the DestConnectStr at runtime (after
the user entered his Login Information)?
TIA
Cheers Ludwin