Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Unfamiliar with creating custom functions, I would like to return the value list with a count beside each item

Let ( [

thelist = List ( diet::restriction ) ;

vlist = ValueListItems ( Get ( FileName ) ; "diet_restriction" ) ] ;

PatternCount ( thelist ; GetValue ( vlist ; 1 ) )

)

Inital List

No Pork

Vegetarian

Vegan

Return List

No Pork 3

Vegetarian 2

Vegan 8

Posted

Try this, I wrote it some time ago:

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

Posted

Thanks Vaughan, that did the trick. Comment I wanted the function to set a field.

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