troubleshooting Question

exclude null values (or not isnull values) from formula results

Avatar of rmoelders
rmoelders asked on
Crystal Reports
8 Comments1 Solution1440 ViewsLast Modified:
Okay, here's my formula, trying to find the phone descriptor values that don't conform to a set list. Problem is I'm also pulling values that are null. Tried the not isnull section but now I'm pulling all the values that are not null across all four phone descriptors. Thanks in advance for the help!

isnull({Q_CLIENTS.DateClosed}) and

(not ({Q_CLIENTS.PhoneDesc1} in ["Assistant", "Cell", "Cell2", "Home", "Home Fax", "Home2", "Other", "Other Fax", "Pager", "Work", "Work Fax", "Work2"]) or
not ({Q_CLIENTS.PhoneDesc2} in ["Assistant", "Cell", "Cell2", "Home", "Home Fax", "Home2", "Other", "Other Fax", "Pager", "Work", "Work Fax", "Work2"]) or
not ({Q_CLIENTS.PhoneDesc3} in ["Assistant", "Cell", "Cell2", "Home", "Home Fax", "Home2", "Other", "Other Fax", "Pager", "Work", "Work Fax", "Work2"]) or
not ({Q_CLIENTS.PhoneDesc4} in ["Assistant", "Cell", "Cell2", "Home", "Home Fax", "Home2", "Other", "Other Fax", "Pager", "Work", "Work Fax", "Work2"])) and

not isnull({Q_CLIENTS.PhoneDesc1}) and
not isnull({Q_CLIENTS.PhoneDesc2}) and
not isnull({Q_CLIENTS.PhoneDesc3}) and
not isnull({Q_CLIENTS.PhoneDesc4})
ASKER CERTIFIED SOLUTION
moderndist

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros