How to Include Parameters While Exporting Report Page in APEX (Doc ID 1618962.1)

Last updated on SEPTEMBER 20, 2016

Applies to:

Oracle Application Express (formerly HTML DB) - Version 4.2.2.0011 and later
Information in this document applies to any platform.

Goal

How to download a report to excel including the report parameters?
E.g.
1. report query:
select  "EMPNO",  "ENAME",  "JOB",  "MGR",  "HIREDATE",  "SAL",  "COMM",  "DEPTNO"
from #OWNER#.EMP
where EMP.deptno=:P6_DEPTNO

2. P6_DEPTNO is being populated by a popup lov based on dept:
select DEPTNO as display_value, DEPTNO as return_value
  from DEPT
 order by 1

3. Submit button to display the report

We would like to include the current value of P6_DEPTNO in the downloaded report.
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms