Gray out check-box when inserting new records
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