Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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.

It's the same thing as here:

http://fmforums.com/forum/showtopic.php?tid/195744/

  • Author

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.

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¶

I am not sure why you would need an inclusive function for this, but in any case - if you substitute ¶ with "¶¶", the rest should follow.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.