Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Repeating frame not visible when the query returns no rows

570727Apr 4 2007 — edited Apr 6 2007
I've developed a report whose output looks like this:
----------------------------------------------------------------------------------------------------------------
Subinventory | Part Code |Part Description |Ordered Qty | Received Qty
-----------------------------------------------------------------------------------------------------------------
Mentone St | BATT | non serialised item | |
Mentone St | SONY | spare parts MIN MAX | 30| 0
---------------------------------------------------------------------------------------------------------------

In the above report

subinventory, Part Code, Part description are in one repeating frame and Ordered and received qty are in other repeating frame.

for a perticular part code there may not be ordered or received quantities. Means the seond query fetches no rows for the perticulat partcode. In that case report is showing null(blank) but I want to print ZERO there.

If I use NVL in the query it'll effect only when the query fetches some rows.

I've tried with formula columns. for example in the formula column

IF :ordered_qty IS NULL THEN
v_ordered_qty :=0;
ELSE
v_ordered_qty := :ordered_qty;
END IF;
return(v_ordered_qty);

I've assigned this formula column as source to the Ordered Qty Filed. Then also its not working.

Any help in this regards is highly apprecialted

regards,
Vij
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 4 2007
Added on Apr 4 2007
7 comments
1,089 views