Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing User in Form Runtime

Status
Not open for further replies.

devdba

Programmer
Dec 11, 2002
15
GB
I wonder if somebody had any idea about changing user login in forms runtime. I wish that I should not need to close the form and re-connect.
I am using D2K with Oracle 7&8i on Windows 98&XP
 
Use LOGOUT and LOGON triggers. You will need to put LOGON(NULL,NULL); somewhere in your code. Then in an ON-LOGON trigger, use some code like this

LOGOUT;
LOGON('username','password@database');
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top