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

Count If basic question

Featured Replies

  • Newbies

I am trying to count the number of records in a table but I don't want to count any record that is blank or contains a zero.

Any thoughts- thanks from a FMP newbie!

What is the purpose here? You could just find for those records that are not 0 and null.

You can also use a summary field that sums up a simple calc: GetAsBoolean ( YourField ).

But again we can be more precise in a solution if we knew exactly what you need it for.

P.S. Is this a text filed or a num field?

Edited by Guest
added PS

  • Author
  • Newbies

I am creating a relational student achievement database. The field I am trying to count is a number field which ranges from 0 to 100. I need to count the number of cells which have number in them greater than 0 in order to get the total number of students who are absent. Then I can do a summary calc to get the total absences.....

The easiest thing for you to do is do a find for > 0 in the field. The number of records returned will tell you how many there are. You can script this if need be.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.