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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal XI - Parameter - User doesn't have to select all options 1

Status
Not open for further replies.

ReillyC

MIS
Feb 6, 2004
114
US
Is it possible to have more than 2 parameters where selecting options is not required.

For example,

Parameter 1 Select Country
Parameter 2 Select City
Parameter 3 Customer

What if the user just wants to choose the country and customer and skip the city field? Is this possible or does the user have to select a city?

Thanks for your help in advance.

 
A common way around this is to set a default value of All, and in the record selection formula code for "All", as in:

(
If {?MyCity} <> "All" then
{table.city} = {?MyCity}
else
If {?MyCity} = "All" then
true
)

I intentionally format the ELSE with another IF to help assure SQL passthrough.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top