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.

Featured Replies

I have a question about some (for me) difficult calculation.

I have a table with Events. Every Event can have several participants (own table). The event has a limit of how many participants it can have. Every participant has a status, which can be "allowed" or "not allowed" (which is choosen from a valuelist). My question is, how can I count how many of the participants that have the status = "allowed"?

regards

/P

There are several ways to do this, but the best way depends on where you need to use it. Is it just for a report? Is it needed in the context of the Participant table or the Event table?

  • Author

I need it in the Event table to be able to calculate if there is any places left (so that the limit for the event isn't yet reached)

I don't quite get the Allowed/Not Allowed terminology, but this is how you would add a count of "Allowed" in Event:

In Event, define fields:

gAllowed (global, text) enter "Allowed" into field

Count_Allowed (calculation, number) = Count(Participant by Allowed::Participant ID)

Add a table occurance of Participant, called Participant by Allowed:

Event::Event ID = Participant::Event ID and

Event::gAllowed = Participant::Status

  • Author

Thank you Ender. You solved my problem. I

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.