Create a parameter that will suppress a subreport

Is it possible to create a parameter in a main report that will suppress a subreport based on a yes or no answer?

Any Help on this will be Great!

Stephen


yosteevo :us: (BOB member since 2012-06-04)

Yes, Create a new parameter(string, static) and insert values Yes, No. Now write a suppress condition on the section where you have placed your subreport.

Ex:
If {?parameter}=โ€˜Yesโ€™ then true else false


anil.ganga1 :us: (BOB member since 2007-07-04)