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

Select Case 1

Status
Not open for further replies.

YANKRAY

Technical User
Nov 7, 2003
283
Crystal Reports 10.0.

When using Select Case logic, how do you indicate a null value Case?

Thanks,
Ray
 
One way is to use the null check first, as in:

if isnull({table.field}) then "Null" else
select {table.field}
case "123" : "Old"
case "456" : "New"
default : "Other"

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top