item property [message #133056] |
Wed, 17 August 2005 08:52 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
dmack
Messages: 42 Registered: March 2005 Location: TNT
|
Member |
|
|
Hi everyone
I am having some trouble disabling some items on a form.
i have managed to disabled some items like buttons but when it comes to text items it doesn't work. I have checked all possibilities (for instance whether or not it is enabled elsewhere but this does not work). This is an example of the code used
IF :user_group NOT IN ('HD','SD','SS') THEN
show_message('User Only Allowed To Query By Request Number, Report Date, Reporter!');
set_item_property('TESTER_BUTTON',ENABLED,property_false);
set_item_property('SIGN_OFF_BUTTON',ENABLED,property_false);
set_item_property('SD4_SIGN_OFF_DATE',NAVIGABLE,property_false);
set_item_property('SD4_AUTH_DATE',ENABLED,property_false);
ELSE
set_item_property('TESTER_BUTTON',ENABLED,property_true);
set_item_property('SIGN_OFF_BUTTON',ENABLED,property_true);
set_item_property('SD4_SIGN_OFF_DATE',NAVIGABLE,property_true);
set_item_property('SD4_AUTH_DATE',ENABLED,property_true);
|
|
|
|
|