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

Recommended Posts

Posted

In the process of trying to build a custom function, I've come across an issue I can't wrap my head around. I've blown nearly two hours to get to this point...

What would you expect this expression to return?

//Find the position of the 3rd 4.

Position( ¶ & "1¶2¶3¶4¶14¶4¶4" & ¶ ; ¶ & "4" & ¶ ; 1; 3)

Is it just me or is something screwy going on? This doesn't seem to be a problem with text, just numbers. I haven't tried other data types.

This is FMP10.0.3 Advanced on OSX 10.5.8.

Posted

Sonofa....I knew it was familiar! Shame I lack a memory.

I thought I had narrowed it down to an issue with the pilcrow dropping off if it was a number, but I hadn't tested very thoroughly.

So what's the answer to an inclusive PatternCount() function or Position() function?

I'm trying to build custom function that essentially combines my TypeSumField() with your CorrespondingValues().

I'm looking to grab a list of related line item amounts, grab a list of those same line item types, and create a new list that sums each line item type.

Similar to what BruceR does with repeating fields in the TypeSumField() discussion but without the need for extra fields.

Any tips would be welcome.

Posted

Is it just me or is something screwy going on?

I see the problem... that statement should have AND instead of OR. ???

Double the ¶s.

¶A¶¶B¶¶C...X¶

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