Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Updatable View as data block source - can't get to work

218166Apr 28 2002
I have created a simple form with one data block based on an updatable view, but it doesn't work properly after the form executes a query.

I can use DML on this view using SQL*Plus and it works as it should.
DML works in the form too, but only until I execute a query, after that I get the "FRM-40602: cannot insert into or update a view" error each time I try an insert, update, or delete.

This is repeated for each runtime of the form. I have set the "query only" property to yes for the non-DMLable item from the view so that isn't part of the problem. This is an example out of "Developer Advance Forms and Reports (page 112) - Oracle Press" so it should work. There is nothing else (code, triggers, etc...) in this module besides the one data block.

Any ideas would be appreciated.
Thanks. Bill Brosnan.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2002
Added on Apr 28 2002
3 comments
517 views