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

Recommended Posts

Posted (edited)

I have a checkbox field of five responses, A through E. The order in which users check does influence what is produced. For example, they check box A, B, then C gives the following:

A

B

C

with a carriage return after A and B.

If the user were to check B, then C, then A, the following is returned:

B

C

A

with a carriage return after B and C.

My question is this: is there a way through calculations to alphabatise the response, so that each of the above examples are "ABC'?

Thanks for your help!

Edited by Guest
I can't spell!
Posted

use a custom function to auto replace the field to sort in the correct order.

http://www.briandunning.com/cf/290

Posted

Ehm!

http://www.filemaker.com/help/FunctionsRef-346.html

...is available under fm8.5

If you put ValueListItems( in the first paramter, and the checkbox field in the second one, will each of ValueListItems( drop thru if it occures in the checkbox field.

Returns a text result containing only the values that were provided in filterValues, in the order that they were originally entered in textToFilter. If filterValues doesn't have any values, an empty string is returned.

Why should we then not just have a party and remake each function with our own versions? If we're talking CF's could you be sure a control mechanism secures against reaching the iteration max this means extra things on each cycle.

In a broarder sence could each function have methods in common even though they exist in each their own function, this is a overhead which years and years of debugging obviously have been removed to make each individual function as lean as possible.

--sd

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