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

  • Newbies
Please see FileMaker Pro 12 database I've created to illustrate my problem:
 
 
I want to count the number of times an Activity has been assigned to a Staff member, but there are a couple of things making it tricky (not impossible, I hope):
 
1. When the user performs a Find, the count should update to only include the found records.
2. The user can add to the list of activities.
 
In the example provided, SelfJoinCount and Activities::Count are not what I want - they both count Activity (e.g. Archery has been assigned to two staff members), but do not meet criteria 1. above.
 
Try performing a Find of Gender = M
 
* The values of ReviewedCount (a summary field, counting Reviewed) change to 3, which is what I want.
 
* The values of SelfJoinCount and Activities::Count do not change. In this case, I want them to change to 1 (i.e. One record with Ballooning, one record with Bird watching and one record with Archery in the found set).
 
I could create a calculation field with a 1 in it if the activity occurs and then a summary field counting that 1 for every single activity in the database, BUT this won't work because of criteria 2. above (also, there are a lot of activities).
 
Any ideas?

If a Person can have multiple Activities, and an Activity can be assigned to several People, you need a join table (which implements a many-to-many relationship).

 

This will be the basis for “parent” tables (Staff and Activity) to look into if you want to use portal and calculations, and also if you create reports based on Activity, Staff members and /or date and use sub-summary fields.

 

See this thread (where you can substitute ”Job“ with ”Activity“).

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.