Click to See Complete Forum and Search --> : Optional Parameter


GEM1204
May 29th, 2007, 05:37 PM
Hello Everyone,

I am new to Crystal Reports and I know this is very simple. I have created a report with a discrete parameter where the user can enter a value when opening report. I would like to give the user the option of entering a parameter and displaying the selected data or entering no value for the parameter and showing all the data for the report. So far I haven’t figured out how to do that.

Basically what I want is an optional parameter. Can anyone help me?

I’m using Visual Studio 2005 . The report will be used on an aspx in a crystal reports viewer control

Thanks
GEM

JaganEllis
May 29th, 2007, 09:53 PM
What type of parameter? A string?

({?param} = "" or {table.field} = {?param})

GEM1204
May 29th, 2007, 10:26 PM
thanks for the response,
The paramater in question is a string