Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5545 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a calc field in one table that uses the List function from a related table (matched by date) to list the matching records. Is there a way to limit the records in the List function? I only want to take the first 5 or 6 records from the related List field.

Posted

I don't knew all conditions but will use some auto-enter serial when create records with the same date, and add in the relationship condition AutoEnterSerial<=5 , where 5 or 6 is number determine reflected records in the List.

You must define global field or global variable to keep this 5 or 6.

But... sometimes you need to "get out" 5 or 6 from all list (from beginning, middle or end). Here other conditions can be important and I don't knew them.

Posted

Is there a way to limit the records in the List function? I only want to take the first 5 or 6 records from the related List field.

LeftValues ( List ( YoutTable::YourField ) ; 5 )

Posted

Keep in mind that, if you are grabbing the first five list values, it will be the first five depending upon a sort specified at the relationship level. If no sort is specified then it will be the first five created child records (known as natural sort order). :wink2:

This topic is 5545 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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