How to set Oracle Forms 10g Radio Button

claghorn
claghorn used Ask the Experts™
on
Set_Radio_Button_Property('MARKS_DOWNLOAD.DOWNLOAD_TYPE','VALUE','N');

This does not work for some reason. Can anyone tell me why?
I am listing the datablock, the radio group, the value property and the initial value.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Distinguished Expert 2018

Commented:
I haven't been around forms for a long time so I may not be able to help.  

Because my knowledge is old I'm not sure what you are trying to do with that statement.  Can you explain a little more?

first I can't locate 'VALUE' as a valid property (from a quick google).  Might be an old doc.

Also, you have a dot between item and name:
Set_Radio_Button_Property('MARKS_DOWNLOAD','DOWNLOAD_TYPE','VALUE','N');
IT-specialist
Commented:
check the forms navigator to see what radio-group  the radiobutton is part of.
Assign the value to the radio-group
:block1.radiogroup_x := value;

the Set_Radio_Button_Property set the (most appearance) properties of the button:
checking the radio assigns the radio-button_value to the radio-group,
the radio-button_value is not a property that can be set at runtime (when i look at the documentation).

Author

Commented:
Sometimes the simplest thing is the solution.
:block1.radiogroup_x := value;
This worked. Thanks.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial