Jump to content
Sign in to follow this  
MacSig

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 :

THANK YOU

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:

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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