kzhangkzhang
Programmer
Hi I am working on a Oracle 6i report. The final report looks like:
====================================================
Sample Oracle Report
Org ID: 1
Org Name: MUS
Org ID: 2
Org Name: MFG
====================================================
The report layout looks like:
Org ID: F_org_id
Org Name: F_org_name
Above 4 elements (2 text labels and 2 field elements) are included in a repeating frame called M_MY_ORG. The associated SQL query is like:
select org_id, org_name from my_org where org_id like nvlP_ORG_ID, '%')
Here P_ORG_ID is a token variable...
Here is my simple question: P_ORG_ID is associated with an non-existing org id, the select statement will return nothing. In this case, I want report printed as following:
Sample Oracle Report
Org ID:
Org Name:
===========================================
Basically, I like the report print out both "Org ID" and "Org Name" text label even if there is no data found. How to do this?
Thanks!
Ke
====================================================
Sample Oracle Report
Org ID: 1
Org Name: MUS
Org ID: 2
Org Name: MFG
====================================================
The report layout looks like:
Org ID: F_org_id
Org Name: F_org_name
Above 4 elements (2 text labels and 2 field elements) are included in a repeating frame called M_MY_ORG. The associated SQL query is like:
select org_id, org_name from my_org where org_id like nvlP_ORG_ID, '%')
Here P_ORG_ID is a token variable...
Here is my simple question: P_ORG_ID is associated with an non-existing org id, the select statement will return nothing. In this case, I want report printed as following:
Sample Oracle Report
Org ID:
Org Name:
===========================================
Basically, I like the report print out both "Org ID" and "Org Name" text label even if there is no data found. How to do this?
Thanks!
Ke