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!

Count

Status
Not open for further replies.

lous

Technical User
Mar 8, 2002
53
US
I have a Crystal Report that prints data from an Access database for a 5 day period.

What I need Crystal to do now is to actually count how many of the records actually has data in them and output the total. For example, if one person had data for 5 days, it would display 5. If someone else only had data for 2 days, it would say 2 (the other 3 days are null).

I'm sure this is easy, but I can't figure it out and was hoping you all could help.

Thanks!
 
Create a formula:

@my_formula:
if isnull({your_field}) or {your_field} = ""
then 0
else 1

Now summarize on the formula field.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top