Jump to content
Server Maintenance This Week. ×

Summarizing Null values


This topic is 8586 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I'm using FM4 and I have a report with no body and 2 sub-summaries. The first summary is a leading one which counts the number of "issues". The second is trailing which counts the number of "articles" within that "issue". The problem I'm having is that null or empty "article" values are included and the count is always 0. For example:

ISSUE 1 ... 5

... 0

article 1 ... 3

article 2 ... 2

How do I configure the report so that null or empty values are not counted?

Thanks for any help.

Link to comment
Share on other sites

  • 2 weeks later...

Without knowing what a record is in your database and what fields you have I can only speak in general and take a guess.

If you are using defining a summary field as Count of, all records will be counted. To avoid this you can create a flag field:

Article Flag (calculation, number) =

not IsEmpty(Article Name)

and

Article Count (summary, Total of Article Flag)

This will only count those entries with articles. -bd

[This message has been edited by LiveOak (edited October 11, 2000).]

Link to comment
Share on other sites

  • 3 weeks later...

This topic is 8586 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.