Jump to content
Sign in to follow this  

counting records

Recommended Posts

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 :


Share this post

Link to post
Share on other sites

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

Share this post

Link to post
Share on other sites

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:


...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!


Edited by Guest

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

By using this site, you agree to our Terms of Use.