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.

Writing a script to get a total

Featured Replies

I have created a FM database for my world coins and I would like to keep a "running total" of all the different countries I have. Is there a quick script that I can use to have this displayed on a page?

Thanks

You can create a subsummary report. There are a ton of samples on here if you need one. Do an advanced search for +subsummary +report

  • Author

I did the advanced search and could not find any summary info that would give me the kind of total I'm looking for, that is, not counting every instantiation of every record. For instance, I do not want it to count all 12 records that I have for Canada, just 1...for Canada, 1 for Brazil, and so on.

See here:

http://www.fmforums.com/forum/showtopic.php?tid/135476/

I don't know if this works in 7 but you might try creating a value list based on your country name field and then use the valuecount function to return the number of items in the value list.

[color:blue]From the help file:-

ValueCount(ValueListItems("Employees";"Employee Names") returns the total number of values in the Employee Names value list in the Employees database file.

HTH

Phil

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.