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.

Calculating Text input Help.

Featured Replies

Hi wonder if someone can help.

I have a field which is y or no for attendance.  How can I count all the Y and also seperately the N to give a total of each.

Thanks very much for any help.

I would use 1 for attendance and nothing for not attending. And the Sum function works very well if you do a search for the 1 in the field or nothing aka = sign.

  • Author

Ok so i can put a search in that field for either 0 or 1 and sum them?

Will give it a shot if thats the case.

Thanks again.

  • Author

Ah never thought,,the sum will only count the 1's :idot:

thanks

Do you even need both types of records? After all, anyone not attending is absent and vice versa - so unless you have something additional to record about both attendances and absences, one of the types is redundant.

Why not use a short toggle script and a button field so the user can click the attendance box and change it from a Yes to a No, No to Yes, 1 to 0, 0 to 1, etc. without ever touching the keyboard. This is very user friendly and works great. If text is what you want, include a simple calculation field in each record where [ If (text_field = "yes"; 1; 0)] and sum on that field.

 

Good Luck

Knucklehead

 If text is what you want, include a simple calculation field in each record where [ If (text_field = "yes"; 1; 0)] and sum on that field.

 

No, that's not a good idea, for several reasons. For one, if you ever want to change the displayed text, you need to change the value list AND the calculation formula AND modify existing records. The correct order is: if text is what you want to display, include a simple calculation field where:

 

If ( Statusfield ; "Some text" )

 

or just place the text directly on the layout and format it conditionally to appear when Statusfield is true. Or - if it's a short text, like "Yes" and "No" - format the field to display as Boolean.

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.