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.

counting records

Featured Replies

Hello, I'm trying to accomplish something that looks quite simple to me (at least on SQL world) but I'm stuck.

Basically, I would like to define a field (version) that calculates the number of records having the same "trace number" of the record + 1.

I have found this function that could help me http://www.briandunning.com/cf/894

but I'm not sure how I can use it.

Can anyone help me out :

THANK YOU

  • Author

I solved it: even if I'm sure there is a much nicer way.

I performed a find and after I saving the max + 1

But how well does it scale, knowing that CF's usually only manages some 10K iterations - without tail recursion?

The question is asked to abstract to give a proper answer! What you seems to be after is:

http://www.filemakerpros.com/SerCat.zip

...although it's an old fart being in fm3 format does it still have it's bearing, since any kind of aggregation over a found set with calc' functions opposed to summary functions not are designed to scale particular well.

Filemaker keep up these two things primary because the prospect users of the application, originate from a spreadsheet'ish background ... but dealing with sets beyond some 40 records have unfortunately to be done with either the Paco di Pacioli approach the template shows or genuine summary fields, in subsummary reports - not calc'fields!

--sd

Edited by Guest

  • Author

Thanks for your reply

Happy Holidays !!!

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.