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!

User log-in and trigger

Status
Not open for further replies.

nickty

MIS
May 25, 2001
23
GB
Hi
I have constructed a form(using WebDB) which will be used by 20+ users in 10+ offices.
Each has their own unique log-in.
There are fields on the form for "logged_by" and "office_code".
Is it possible (somehow) to capture the log-in and write a trigger that automatically inserts values into the required fields.
ie

if log-in = smith insert 'LONDON' into :new.office_code;


I am an oracle novice, so any help or advice is appreciated.
Thank you.
 
Try the suggestion in thread186-40445:

select user from dual;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top