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

Looping Value lists items


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

Recommended Posts

Posted

I have to set a max number for each category in a found set. I set up a script to handle adding in the max value of a found set but I would like for it to handle adding the max value for each found category. I have the category set as a value list. Is it possible to loop a find with the set max script to go through each of the values found in the value list? There are approximately 30 different categories, and I know that I could manually have it go through each of them, but I figured there must be an cleaner and more concise way.

An example would be there there are records in CategoryA that have a number field value of 2, 3, and 4. There is a field called maxNum. I have a script that will find the max value and add it to maxNum. So for CategoryA all maxNum fields has the value of "4". I would like to go through each category and set the maxNums per category.

Hope this is clear. Thanks for the help.

Posted

How do I use a summary field for multiple instances? Right now the summary field finds the max for everything instead of grouping them by category.

Posted

Place it in a subsummary by Category part, and sort the records by Category.

Note:

In version 9 and earlier, subsummaries show only in Preview mode or when printing. If you want to view the values in Browse mode, define a calculation field =

GetSummary ( summaryField ; Category )

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