today:
168
yesterday:
170
Total:
999,474

Apex Interactive Report: The difference between CIR and RIR

You’ve probably already used the reset functionality in an Interactive Report, but do you know the exact the difference between CIR (Clear Interactive Report) and RIR (Reset Interactive Report)?

RIR or CIR, what is it?

First, let’s explain what CIR and RIR is and how you can use it.

With CIR and RIR you can clear or reset your Interactive Report after using filters. This can be handy if you’ve applied a filter on a page, but also want to (re)use the full report.

If you want to apply a filter on an interactive report when linking from another page you can use the following operators.

FunctionMeaning
IREQ_<COLUMN_NAME>Equals
IR_<COLUMN_NAME >Same as IREQ
LT_<COLUMN_NAME >Less than
IRLTE_<COLUMN_NAME >Less than or equal to
IRGT_<COLUMN_NAME >Greater then
IRGTE_<COLUMN_NAME >Greater then or equal to
IRLIKE_<COLUMN_NAME >Like operator
IRN_<COLUMN_NAME >Is Null
IRNN_<COLUMN_NAME >Is not Null
IRC_<COLUMN_NAME >Contains
IRNC_<COLUMN_NAME >Not Contains

You can also use above functions in a saved report, then you have to use IR_REPORT_<ALIAS>.

Sometimes the page with the interactive report can be accessed by multiple pages and you would like to reset the filters already applied to the interactive report.

i.e. You have a page with Countries and you want to filter your existing Customer Report to all customers in selected state. But, when you click on Customers on another page you want to see all customers, not only the ones you just filtered. In this case you can use CIR or RIR.

You can simply enter these options in the URL or the Clear Cache option in your button / branch.

APEX_CIR_RIR

But what is exactly the difference between using the CIR and the RIR?

As the name suggests, CIR Clears and RIR Resets.. But isn’t that the same?

Almost. The main difference is that CIR Clears the report, clearing all breakpoints, filters and other defined actions on your report, ignoring the settings of the primary report. RIR Resets the interactive report to the primary report.

In the following table you can see which user defined modifications to an Interactive Report will be lost or kept when using the CIR/RIR clear cache option.

 CIRRIR
Main FunctionClears Interactive ReportResets Interactive Report
No. Subject Author Date Views
26 Material requirements planning (MRP) admin 2018.02.14 87
25 Reversing Require HTTPS admin 2023.06.04 84
24 Link- AbbaBeauty admin 2018.02.13 84
23 127.0.0.1:8080/apex/ admin 2023.06.03 83
22 STARTUP admin 2022.09.01 83
» Apex Interactive Report: The difference between CIR and RIR admin 2018.01.26 80
20 Manufacturing resource planning (MRP II) admin 2018.02.14 78
19 ipconfig admin 2023.06.03 67
18 GP - 영수증 (2) admin 2022.11.07 63
17 Building Mobile Applications with Oracle Application Express 5.0 admin 2017.11.25 63
16 GP 영수증 본문 admin 2022.11.07 61
15 CHANGE TABLE NAME admin 2023.05.31 58
14 WHDR email address admin 2023.04.13 55
13 GP 영수증 (3) -01/04/2023 admin 2023.01.04 53
12 LOOP TABLE UPDATE admin 2023.05.19 50
11 FINAL TEST admin 2023.05.08 44
10 Global pages admin 2023.05.09 40
9 GitHub.com/Oracle/APEX. admin 2023.05.04 40
8 TEST admin 2023.04.28 40
7 GRAPH (BAR) SQL SAMPLE admin 2023.05.25 39