Dynamic Radio Buttons
427869Aug 17 2004 — edited Aug 18 2004I have a problem. I need to create dynamic radio buttons in Forms 6i.
Here is the problem. I have a form for an employee. From the form he can choose a benefit for him. The benefit descriptions are stored in a table. So the radio buttons should be created using the benefits table.
For example
Choose Benefit
() Benefit1
() Benefit2
() Benefit3
() No Benefit
Here the benefit1, benefit2 and benefit3 are stored in benefit table.
Now if the employee record has the code that matching Benefit1, then Benefit1 should be checked. If the employee record has a code that is not in benefits table or the code in employee record is empty then No benefit should be checked.(No benefits value is not there in the table).
How do I create dynamic radio buttons like this ? Please help. I checked set_radio_button_property but I could not find any option to create a new prompt (dynamically) for the radio button group.
Please Help.
Thanks in advance!
Shyam Menon