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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing SQL user From Developer 1

Status
Not open for further replies.

taqmeena

Programmer
Mar 22, 2005
53
PK
i HAVE a Button of a Form.
when user Press this Button.
user of Sql Should Change as specified in the WHEN-BUTTON-PRESSED TRIGGER of that button.
as
BEGIN
CONNECT ABC/DEF@GHI;
END;

KINDLY GIVE ME THE CORRECT WAY HOW CAN I DO SO.
 
You will have to use the LOGOUT and LOGON built-ins in association with the ON-LOGON trigger. Have a look at the forms help for more definitive information.

Be aware that:

1. LOGON used outside the ON-LOGON trigger will fire the ON-LOGON trigger.

2. LOGON used inside the trigger will do the actual connection to the database.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top