Need Urgent Help with Display Item on Form [message #84561] |
Tue, 30 March 2004 11:13 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Prince
Messages: 32 Registered: December 2001
|
Member |
|
|
The following code was created in a WHEN-NEW-FORM-INSTANCE trigger on the field level of a form (6.0) running on a windows platform for checking the value of a display item (A) to determine the properties of another text item (B). This seems to be working fine, however it is necessary for B to display '0000' and not NULL when A = 'Natural'. Can anyone please help? This is urgent.
This is what the code looks like:
Begin
IF
:Data_block.nbt_display_item = 'Natural' AND :Data_block.text_item IS NULL THEN
:Data_block.text_item := '0';
SET_ITEM_PROPERTY(':Data_block.text_item', ENABLED, PROPERTY_TRUE);
SET_ITEM_PROPERTY(':Data_block.text_item', VISUAL_ATTRIBUTE, 'VA_DISPLAYDATA');
END IF;
End;
Thanks.
|
|
|
|