Skip to Main Content

APEX

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!

Show/Hide Button Woes

73pixieGirlJul 2 2008 — edited Sep 5 2008
I need to show/hide a button on a page with a report. If the report returns no records, hide the button. In the HTML Header I have the following:
<script language="javascript">
var num = #TOTAL_ROWS#;
$x('P26_RESULTS').value = i;
<script>

This is working b/c the item is being populated with the number of rows.
I put a condition on the button so if the value in P26_RESULTS is not equal to zero the button should appear. The item is located above my report region.

I've tried the condition type - Value of Item in Exp 1 != Exp 2 (P26_RESULTS != 0) and the condition type - Value of Item in Exp 1 != Zero (P26_RESULTS in Exp1) and the button displays no matter what the value of my item is.

I know this is a simple thing to do but my brain is fried at this point.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2008
Added on Jul 2 2008
7 comments
2,052 views