Home » Developer & Programmer » Forms » Assign values dynamically to radio buttons (Oracle Forms Builder 10g)
Assign values dynamically to radio buttons [message #296683] Mon, 28 January 2008 12:15 Go to next message
shahiajf
Messages: 5
Registered: January 2008
Junior Member
Hi

I am creating an online test. I have questions and answer choices stored in the table. I have master table with question number and question and detail table has answer choices. Master -detail table has one to many relationship.

I was trying to display question number, question and answer choices on the oracle form. Answer choices could be associated with radio buttons or check boxes or drop down. I will need to create these controls dynamically.

This is what I have done so far
I created master detail form. Master form is content canvas type and detail form has stacked canvas . I created 3 stacked canvases for detail form , one with radio buttons, one with checkboxes and the last one with drop down. I am hiding these canvases based on what I need to display on the form for the associated question.

Now I have problem with how to associate the label and value to each radio button. Any help would appreciate.

I tried set_radio_button_property(..,..,..,..), but it set label for all instances.

Thanks
Oracle developer
Re: Assign values dynamically to radio buttons [message #297000 is a reply to message #296683] Tue, 29 January 2008 21:45 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Use the button name not the radio group name.

David
Re: Assign values dynamically to radio buttons [message #297430 is a reply to message #297000] Thu, 31 January 2008 09:13 Go to previous message
shahiajf
Messages: 5
Registered: January 2008
Junior Member
Thanks.

It is working.
Previous Topic: Global Variables
Next Topic: LOV Problem
Goto Forum:
  


Current Time: Fri Dec 09 05:29:27 CST 2016

Total time taken to generate the page: 0.11063 seconds