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.

Position and Pattern Count - DIFFERENT RESULTS ! !

Featured Replies

Hello all,

Just seeking confirmation of a bug or a workaround.

I am working on copying and pasting text from existing html for re-purposing.

So here's the issue. I can do a pattern count and the result is positive.

When I use a Position statement in a field calculation it returns 0 - no data found.

I believe this is related to unicode support. Since v7 we can't choose ASCII as an indexing option so it doesn't strip the extra bit codes.

I am also using a filter to strip all but the basic characters and it doesn't work either.

Not expecting a quick answer.

here's a sample file.

TheBiz.zip

I see one problem, look at the calculation for Fax.

Case ( PatternCount (Text1 ; Constants::Fax );

TextSize (

TextStyleAdd (

Let(Phone = Filter(

Substitute ( TrimAll (

Middle (

Text1;

Position ( Text1; Constants::Fax; 0; 1 ) + Length ( Constants::Fax );

(Position (Text1; Constants::eMail ; 0;1)) - (Position ( Text1; Constants::Fax; 0; 1 ) + Length ( Constants::Fax)))

; 1 ; 0 ) ;[ "

  • Author

Understood. That's one more layer that's coming. smile.gif

According to FM Help,

"If you have been using the ASCII setting for sorting and indexing data in previous versions of FileMaker Pro, you can use the Unicode setting to achieve similar results."

Are you saying that you used to use ASCII, which worked, and are now using Unicode, which doesn't work?

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.