Home » Developer & Programmer » Forms » Log out and login into different database (Forms 10g, Solaris)
Log out and login into different database [message #511008] Thu, 09 June 2011 01:36 Go to next message
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?
Re: Log out and login into different database [message #513324 is a reply to message #511008] Sun, 26 June 2011 20:07 Go to previous messageGo to next message
nitinoracle
Messages: 6
Registered: January 2011
Location: Melbourne
Junior Member
Any suggestions...
Re: Log out and login into different database [message #542071 is a reply to message #513324] Sat, 04 February 2012 04:22 Go to previous message
nvsr
Messages: 54
Registered: December 2011
Location: HYDERABAD
Member

HAD U GOT THE ANSWER? IF U KNOW PLEASE SEND ME .. I AM ALSO FACING SAME PROBLEM..
THIS IS MY MAIL

nvsubbareddy111@gmail.com
Previous Topic: Exit Form Move to Another Block
Next Topic: How to Read Registry from Oracle (splitted from same topic name in SQL forum)
Goto Forum:
  


Current Time: Fri Aug 23 15:45:24 CDT 2024