Dynamic list of values in interactive reports

I have an interactive report in apex. I have two fields on it. One is based on a list of value. From the other I would like to obtain its value depending on the value selected on the list. Is that possible?
jdenogueraAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
tahula2Connect With a Mentor Commented:
You can use ajax to do these things in apex.
http://www.dba-oracle.com/t_html_db_apex_ajax_application_express.htm.

Also if there is only a couple of variations you could try using 2 drop down boxes and hiding one using styles in javascript and an onChange event handler.
0
 
swadhinrayCommented:
Yes is possible.
0
 
swadhinrayCommented:
use conditional  display on your item value level which will solve your problem
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
swadhinrayConnect With a Mentor Commented:
When you click on list of values on your item you need to check on Cascading LOV Parent Item(s).
For more information just check the help as you will see the below:

A cascading LOV means that the current item's list of values should be refreshed if the value of another item on this page gets changed.

Specify a comma separated list of page items to be used to trigger the refresh. You can then use those page items in the where clause of your "List of Values" SQL statement.

For example, if you have page items for Car Make and Model, Model would identify Car Make as the Cascading LOV Parent Item so that whenever Car Make is changed, the LOV for Model would be refreshed.

0
 
jdenogueraAuthor Commented:
Thanks for your answer swadhinray, but remember that both items are selected in the same query and displayed in an interactive report. This is the query:

SELECT A.CLAVE,A.ID_GRUPO_PRUEBA,A.ID_CLIENTE,A.ID_PRUEBA, A.IDNORMA, A.ID_IAXCLIENTE
FROM VW_GRUPOS_PRUEBASXCLT_DET A
WHERE A.ID_GRUPO_PRUEBA= :P50_ID_GRUPO_PRUEBA
AND A.ID_CLIENTE = :P50_ID_CLIENTE

ID_PRUEBA is the first list of values and depending on what the user select on it, the values of IDNORMA and  ID_IAXCLIENTE (both items are list of values too) changes.

Is that possible? How can I make it work?
0
 
swadhinrayCommented:
use Cascading : parent to 1st column and child to the second column , so that 2nd column will be dependent on the 1st selected items from LOV.
0
 
jdenogueraAuthor Commented:
Remember that I am working with interactive reports and you can not use cascading LOVs on it
0
 
tahula2Connect With a Mentor Commented:
Seems this is even easier now using dynamic actions in Apex 4.
0
 
jdenogueraAuthor Commented:
Thanks for your answer tahula2. I will try to apply your recomendation and I will let you know if it works
0
All Courses

From novice to tech pro — start learning today.