Log out and login into different database [message #511008] |
Thu, 09 June 2011 01:36 |
|
nitinoracle
Messages: 6 Registered: January 2011 Location: Melbourne
|
Junior Member |
|
|
Hi,
I need to design my login form to be able to connect to different database environment (Env1 and Env2).
When the login form is loaded it is already connected to Env1, after the user enters his login details he has option to continue with Env1 or connect to Env2.
I used the "Logout;" to disconnect from already connected Env1 and used "Logon(<username>,<pwd>@<Db instance>);" but i see that the form will connect to Env1 irrespective of what environment credentials i provide in Logon.
Kindly let me know how i can disconnect from Env1 and connect to Env2. Is this possible?
|
|
|
|
|