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

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

Recommended Posts

Posted

Hi there...! Calling all Custom Function wizards I need your help!!

 

I am trying to make a custom function that can take a list of values like so:

 

Bob|5

Mary|3

Anne|3

Bob|5

Frank|1

Bob|5

Anne|2

 

 

And turn it in to a group summed list like this:

 

Bob|15

Mary|3

Anne|5

Frank|1

 

Posted

Sorry, this is a non-question. The real problem lies elsewhere. Why don't you use records and fields to store your data? Then the problem of summing and grouping becomes trivial.

Posted

Cool! Thanks Comment!

 

Here is the function anyway in case anyone else is searching!:

 

 

That function, as written, can't work.

Posted

It has gone at the request of the author

 OMG,  now  you got my curiosity up,  what was the name of this custom function

Posted

Sorry, this is a non-question. The real problem lies elsewhere. Why don't you use records and fields to store your data? Then the problem of summing and grouping becomes trivial.

 

Well, in comparing whether to use a proper relationship with records versus a custom function, my vote is the relationship. 

And I have to say that I'm surprised that other seasoned developers on this thread aren't supporting the same concept.

Posted

Look closer …  :smile:

 

I did.  :idot:
I have to say that I was wrong but also that your CF shows a difficult sequence, although the result is nice. :flowers:

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