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 5257 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

The result of List(field) comes out in record creation order.

Is there any trick to control that?

I'm populating a single calculated text field in the main file with a list of field data from a 'many' relationship (thru a join table), and would like to allow the user to control the sort order of the result by modifying a field within the table the list is pulled from.

Looking into "create a value list based on values of the field in question, make it a conditional value list based on the relationship ID... then use ValueListItems() to return only the unique values. Works best in a script."

That worked.

As the target field to make a list from was a calculated text block, itself with a list from yet another field, : , I had to replace all ¶ with # so I could sort the field as a single item, then subbed them back after using VLI().

Edited by Guest
Solved.
Posted

LOL! Your English was perfect. Where were you an hour ago? (and why did I not think to try that). Thanks!

I still needed to sub out the ¶ for # to maintain my text blocks, so not truly a waste of time.

This topic is 5257 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.