today:
92
yesterday:
193
Total:
998,074

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
126 ACTION admin 2019.01.11 6454
125 Fundamentals of PL/SQL admin 2016.05.10 2031
124 QR Code plugin admin 2017.11.30 1585
123 QR Code plugin Process admin 2017.11.30 962
122 How to Update Oracle XE Version admin 2018.02.23 929
121 GP PRINT admin 2018.05.31 917
120 INSTR admin 2016.05.19 785
119 SELECT last_name FROM admin 2018.12.12 742
118 TREE admin 2016.05.18 722
117 IMP admin 2018.10.08 717
116 JK admin 2019.02.05 700
115 CREATE TABLE admin 2018.09.25 471
114 APEX Password Change admin 2016.08.26 452
113 JavaScript for Member List admin 2016.08.17 427
112 Membership Management admin 2016.06.09 425
111 QRCODE admin 2020.05.25 405
110 control break admin 2016.06.25 388
109 SQL admin 2016.07.15 387
108 DATE Compare admin 2018.05.22 365
107 APEX Web Services Proxy Settings admin 2016.06.07 351