Question Locked

Oracle Forms: trigger from New Record button

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
When my user reads his data I want to prevent him changing the ID. I do this by setting the Enabled property to "No". When the user wants to insert a new record I want to set the Enabled property to "Yes" in the blank record which appears. In what trigger should I do this? I have tried several trigger names without success.

2 replies

by john.a.wills

message ('Key-CreRec at Form Level');
CREATE_RECORD;
set_item_property (':fwcoto2.id',enabled,property_on);

I get the blank controls for the new record, but id is still not enabled. Any ideas?

This discussion is closed to new replies.