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!

How to update a view in the front end?

Status
Not open for further replies.

olivek

MIS
Jun 17, 2003
13
US
I tried to code nothing in on-update, and hoping this will override the built-in update function. But there is no update sign as insert or delete sign. So everytime, when I change sth, then I have to click save, I got error "frm-40501: oracle error: unable to reserve record for update or delete" the displayed error is: "ora-01445: can not select ROWID from a join view without a key-preserved table."

How to handle that?

Is there any trigger that can be fired before save. Then first we can customize our code to update the underlying table, then raise a trigger exception to avoid doing save?

Thank you a million!
 
You may redefine transactional triggers: on-lock, on-update. If you use instead of triggers, on-lock is the clue.

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top