❇️ OrclQA.Com is a question and answer forum for programmers.
❇️ Here anyone can ask questions and anyone can answer to help others.
❇️ It hardly takes a minute to sign up and it is 100% FREE.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
How to pass dynamic where clause in IR report
OrclQA Wiki
To pass a dynamic WHERE clause in an Interactive Report, you can use the following steps: Create a hidden page item to store the dynamic WHERE clause: a. Navigate to the Page Designer in APEX. b. Under "Items," click "Create" (the "+" icon) and choose "Hidden." c. Set the "Name" property for the hidRead more
To pass a dynamic WHERE clause in an Interactive Report, you can use the following steps:
a. Navigate to the Page Designer in APEX. b. Under "Items," click "Create" (the "+" icon) and choose "Hidden." c. Set the "Name" property for the hidden item, for example, "P1_DYNAMIC_WHERE." d. Save the changes.
a. Navigate to the Page Designer in APEX. b. Under "Regions," click "Create" (the "+" icon) and choose "Interactive Report." c. Set the "Title" property for the Interactive Report region. d. In the "Source" section, set the "Type" property to "SQL Query." e. Write your SQL query, using the hidden page item to represent the dynamic WHERE clause. For example:
You can set the value of the hidden page item (P1_DYNAMIC_WHERE) using a Dynamic Action, PL/SQL code, or JavaScript. Here's an example of setting the value using JavaScript:
Replace "your_interactive_report_static_id" with the actual Static ID of your Interactive Report region.
This should allow you to pass a dynamic WHERE clause in your Interactive Report in Oracle APEX.
See lessHow to refresh region using JavaScript in Oracle Apex?
OrclQA Wiki
Create dynamic action on the list item to refresh the chart region only.
Create dynamic action on the list item to refresh the chart region only.
See less