darkman0101
Technical User
I have a text field that has the visible property set to 'no' at design time. I want to be able to change this to true in an exception handler at run-time.
There is a 'set_item_property' built in subprogram that I think should do the job.
The code sits in the 'WHEN-BUTTON-PRESSED' trigger of a button.
The Text field in question is 'Text_Item22'
The potion of the PL-SQL code looks like this:
.
.
.
exception
when NO_DATA_FOUND then
ICKINGSLIPNO := '';
:CARRIERNAME := '';
set_Item_property('TEXT_ITEM22',Visible,'yes')
.
.
.
Is this syntax correct?
The help says that the property should be a number, the item can be a varchar or a number and the property value sould be a varchar.
The code compiles OK but if I trigger the button with what will cause the above exception I get the following message:
'Invalid Parameter used for Set_Item_Property'
Where is the fault?
What number should I use for the property?
Thanks in advance
Jason
There is a 'set_item_property' built in subprogram that I think should do the job.
The code sits in the 'WHEN-BUTTON-PRESSED' trigger of a button.
The Text field in question is 'Text_Item22'
The potion of the PL-SQL code looks like this:
.
.
.
exception
when NO_DATA_FOUND then
:CARRIERNAME := '';
set_Item_property('TEXT_ITEM22',Visible,'yes')
.
.
.
Is this syntax correct?
The help says that the property should be a number, the item can be a varchar or a number and the property value sould be a varchar.
The code compiles OK but if I trigger the button with what will cause the above exception I get the following message:
'Invalid Parameter used for Set_Item_Property'
Where is the fault?
What number should I use for the property?
Thanks in advance
Jason