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!

Gray out check-box when inserting new records

12247Jun 13 2002
I have a multi-record block with one of the items being a check-box. In forms I am trying to programatically gray out the
check box when I insert a new record, does anyone know if this is possible?

I have tried the following code in when-new-record-instance, and when-database-record triggers:
IF :system.record_status = 'INSERT' OR
:system.record_status = 'NEW' THEN
set_item_property(Block.CheckBoxItemName,Enabled,Property_False);
END IF;

The code grays out the check-box for all records in the block not just the one I am trying to insert.
If anyone has suggestions I would appreciate it.
Thanks
Mark
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 11 2002
Added on Jun 13 2002
4 comments
734 views