Home » Developer & Programmer » Forms » String Handling on Form (oracle 9i, forms 6i, windows xp)
icon2.gif  String Handling on Form [message #434828] Fri, 11 December 2009 02:27 Go to next message
myclassic
Messages: 127
Registered: December 2006
Location: Pakistan
Senior Member
Dear

I have designed a login form in oracle developer forms 6i. input for this form is user name, password and host string.

I have two Database servers, one is primary and second one is backup server.

requirment is

user should only enter username and password.

host string should not be entered by the user.
i shall configure two host strings e.g. "Primary" for one server and "Secondry" for second server.

in routine...... user will connect to primary server while using the string "primary" , but in case of server's failure user should not know and he should be connected to secondry server while using the secondry tns setting.

how it is possible? can any one help me out? and sample code?

i shall be thankful.

regards.
Re: String Handling on Form [message #437531 is a reply to message #434828] Mon, 04 January 2010 23:11 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Search this forum for 'logon' and 'login'. There are numerous example forms.

David
Re: String Handling on Form [message #437732 is a reply to message #437531] Tue, 05 January 2010 21:38 Go to previous message
myclassic
Messages: 127
Registered: December 2006
Location: Pakistan
Senior Member
Dear David

Your reply has never helped me.

regards
Previous Topic: Capture cursor Position (what record) to Open a NEw form
Next Topic: Call forms on Short Keys
Goto Forum:
  


Current Time: Sun Dec 04 08:27:02 CST 2016

Total time taken to generate the page: 0.21263 seconds