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

Parameter Checking

Status
Not open for further replies.

enigma333

Programmer
Jul 3, 2001
42
CA
Need to add logic to selection formula something like this

if ?Param is null then
show all records
else
show where field = ?Param
 
I don't think that a parameter can be null, it can be blank or zero. I like to use a specific value like:

(if {?Param} = "All"
then True
else {field} = {?Param})

Put this rule in a pair of parentheses if there are other rules in the selection formula. Ken Hamady
On-site custom Crystal Reports Training and Consulting.
Quick Reference Guide to using Crystal in VB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top