If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Radio Button Error Plz Help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-22-04, 17:08
amiazi amiazi is offline
Registered User
 
Join Date: Nov 2003
Posts: 9
Unhappy Radio Button Error Plz Help

Hello,
I seem to have a problem in my code written in the When_radio_changed
trigger of a radio group called "TYPE" and the reutn values are set as "w" in one and "r" in the other radio button... and here is the code :
if :TYPE='r'
then set_item_property('TEX_P_ID',Visible,'Yes');
else if :TYPE='w'
then set_item_property('TEX_P_ID',Visible,'NO');
end if;
end if;

the error i : FRM-41046: invalid parameter used for set_item_propery.
Can Anyone Help PLease?
Reply With Quote
  #2 (permalink)  
Old 05-23-04, 12:20
andrewst andrewst is offline
Moderator.
 
Join Date: Sep 2002
Location: UK
Posts: 5,171
1) Is VISIBLE a valid property for SET_ITEM_PROPERTY? It may be, but I can't remember for sure. Check the Forms online help.

2) I do know that 'Yes' and 'NO' are not valid values for the 3rd parameter. You should use PROPERTY_TRUE and PROPERTY_FALSE (note: without quotes).
__________________
Tony Andrews
http://tinyurl.com/tonyandrews
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On