at start up [message #86972] |
Thu, 25 November 2004 06:32 |
Xeni
Messages: 2 Registered: November 2004
|
Junior Member |
|
|
Hi All
I Am New To Forms . when ever i run my form i have to connect to data base sepecifying user name,password and host string.now at form level i have written a form level trigger(on logon)and mentioned it null;
so now my form is not connecting to data base.now i have created a form giving username,password,hoststring as item types in my form. so when ever i run i want my form to be opend and thro that i want to connect to data base.
so how to give that connection?
thanks in advance
Zeni
|
|
|
Re: at start up [message #86989 is a reply to message #86972] |
Fri, 26 November 2004 13:59 |
Hi!
Messages: 9 Registered: November 2004
|
Junior Member |
|
|
You are using Client-Server I guess(?)
You should be able to specifiy a connect string as part of the your on-login trigger as you would from SQL i guess..... try.. conn scott/tiger@oradb
there are other alternatives like ops$ accounts, that use the actual operating system account but this takes a little setting up.
in Web Forms you can set up config files to handle different connections per config setting, and even single sign on (with more tweaking!)
hope this helps...
|
|
|