String Handling on Form [message #434828] |
Fri, 11 December 2009 02:27 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
myclassic
Messages: 136 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.
|
|
|
|
|