Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Summarizing Null values

Featured Replies

  • 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.

  • 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).]

  • 3 weeks later...

I just go through the database and delete all the empty and invalid records. The task could be automated with a script.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.