My Oracle Support Banner

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

Last updated on AUGUST 04, 2018

Applies to:

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


How to download a report to excel including the report parameters?
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.


To view full details, 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 a vibrant support community of peers and Oracle experts.