'Oracle Apex interactive report link to other report
I have two tables and two classic reports in my application. I would like to update report2 (right site) and the table content depending on a link in report1 (left side).
Scenario:
User clicks on a link inside the columns ID, eg.g "test01".
Data in report2 is updated and shows only the data of table2 where ID(table1) == ID(table2)
I created a sample page (page 4):
workspace:test07032022
User:demo07
PW:sodemo07032022
I know how to set a column as link but I don't know how to get the two reports communicate with each other.
Solution 1:[1]
Have a look at page #5 (I copied your page 4 to it); it contains modifications:
1st report:
- added hidden page item
P5_SELECTED_ID - added virtual column ("Link")
- it is a link to the same page, and sets
P5_SELECTED_IDto 1st report'sIDcolumn value
2nd report:
added
WHEREclause:id = :P5_SELECTED_ID or :P5_SELECTED_ID is nullpage items to submit:
P5_SELECTED_ID
That's all; run the page, click "here" to refresh the 2nd report.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Littlefoot |

