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

Suppressing Null Series?

Status
Not open for further replies.

humanageek

Programmer
Aug 2, 2005
6
US
I'm constructing a simple bar chart, which is reporting number of calls for specific teams.

Unfortunately, in the database, there are a number of records in which this particular "team" field is null.

My chart continues to report the "null" series, showing a non-labeled series in the legend, and the bar representing the value.

Of course, I can suppress this in the text, but is there any way to suppress a null value from being grouped and displayed in the chart?

ANY help you can provide would be greatly appreciated!

Thanks!
 
In the record selction formula->Record add a line to eliminate nulls:

isnull({table.field})

-k
 
I tried your solution long before posting. In my version of CR9, I placed in the record selection formula the following:

And Not ({CL_CALL_LOGGING.IACUSTOM_STRINGDROPDOWN5})

I also tried isnull({CL_CALL_LOGGING.IACUSTOM_STRINGDROPDOWN5}),
also
isnotnull({CL_CALL_LOGGING.IACUSTOM_STRINGDROPDOWN5})

and everything else I can think of.
 
You can verify what is being passed to the database, and I would have been able to further assist you had you in this post placed what I mentioned you neglected in the first, the Crystal version and database/connectivity used.

You probably need:
(
not(isnull({CL_CALL_LOGGING.IACUSTOM_STRINGDROPDOWN5})
)
and
(
not(trim({CL_CALL_LOGGING.IACUSTOM_STRINGDROPDOWN5}) = "")
)


-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top