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

empty value

Status
Not open for further replies.

Crisologo

Programmer
Joined
Feb 6, 2002
Messages
5
Location
ES
hi,
I pass parameter to my CR and i want to if parameter="all" the reports shows all records but if the parameter="para1" it only shows records that have this field with para1 value.
How can i do it? thanks
 
Use the following record selection formula:

if {Param} = "all"
then True
else {Param} = {Data.Field}

Put it in parentheses if there are other criteria. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top