Show/Hide Button Woes
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.