Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

suppression based on the prompt value

Status
Not open for further replies.

unknownly

Programmer
Jul 7, 2003
181
US
I have a report where everything is fine but my users came up with new enchancement to the report which Iam unable think how to get there.

Here what Iam doing

I have some formulas to determine the other formula value.

@ breakage

where somethimes the @breakage value will be zeros and negative amounts and postive amounts


What my user want is


When the run the report they want to input value/Prompt/parameter ( say: matched (@breakage= 0), Unmatched(@breakage<>0), All(@breakage=0 and <>0)

How can I suprress my deatils and stuff to show them if Matched or UnMatched or ALL.


I counldn't explain better than this and hope you guys understand what Iam trying to ask


Any help and quick response is greatly appericated

Thanks,

Sweetie
 
Create a parameter for displaying values - {?Breakage}. Set the default values for {?Breakage} to 'Matched', 'Unmatched', or 'All'. In the conditional suppression for the details, enter:

({?Breakage} = 'Matched' and {@Breakage} <> 0) or
({?Breakage} = 'Unmatched' and {@Breakage} = 0)

These may be reversed since I am not sure which way you want these to work but I think you get the idea. You shouldn't have to do anything for the All case since none should be suppressed.
 
I have tried this before I came in for help. It didn't work
 
Post what's in breakage.

(
if {?Breakage} = 'Matched' then
{@Breakage} <> 0
)
and
(
if {?Breakage} = 'Unmatched' then
{@Breakage} = 0
)

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top