Adding radio button to each row of an interactive report: possible or not?
920172Feb 28 2012 — edited Feb 29 2012First of all let me explain what the point of this application is.
I'm making an application that allows a user to select something out of a drop-down select list. This list is a list of categories for food. Let's say the user selects "Fruit".
Then the page refreshes and shows an interactive report with a list of food that belongs to the category of fruit.
Here's where I want to change things:
I want the user to see the interactive report, but in this interactive report I want to add a radio button for each row.
Then, when a certain type of food is selected (let's say "Strawberry") via the radio button, a text field should appear underneath the interactive report. In this textfield, the user can then add the weight of the food item, and then it will calculate how many carbs there are in the strawberry.
All I really want to know is:*
How do I add a radio button to each row of the interactive report, and how do I link this radio button to the value of that particular row?*
Additional information:
The item "P17_FOOD_CATEGORY" contains the following LOV:
select FOODCATEGORYNAME as display_value, FOODCATEGORYID as return_value
from FOODCATEGORY
order by 1
The "Food" region contains the following source:
select a.FOODID, a.NAME, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME Unit
from FOOD a inner join FOODCATEGORY b
on a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
on a.FOODID = c.FOODID
where a.FOODCATEGORYID = :P17_SET_CATEGORY
EDIT:
PLEASE! Even if you don't know a good answer or if you are unsure about your answer, do post! Even suggestions would be welcome! I really need all the help I could get, even if it's not much.
Edited by: 917169 on Feb 29, 2012 12:25 AM