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.

How to filter portal using whole words?

Featured Replies

I have a simple situation and thought there was a simple portal filtering solution.

 

I have a text field that contains phrases:

 

"Newly Minted in New Hampshire"

"New Ways to Run a Railroad"

"An Old Story Told Anew"

"Newfound Methods"

 

When I set New as the filter keyword, it displays all four records.  But what I'm trying to display are the first two. 

 

My portal filter is set as PatternCount (Table::Field ; Master::Keyword ) > 0

... which I understand is looking to locate the text anywhere in the string.  But this is where I thought there was a technique that could be applied.  I've tried using apostrophes around the keyword and a equal sign prefix, but filtering just includes them in what it tries to match.  It doesn't interpret them as filter rules.

 

Any suggestions of what might work?  (BTW, I'm operating with a separation model database and can't add anything to the table that holds the phrases.)

 

Thanks in advance for any help.

This ?

 

Left ( Table::Field ; Lenght ( Master::Keyword ) ) = Master::Keyword

  • Author

Thanks for your response.

 

But unless I've misunderstood your suggestion, it displays all except "An Old Story Told Anew".

Plus, it seems to only look at the first word of a phrase.  Is that correct?

Then you could try this other one:

ValueCount ( FilterValues ( Substitute ( Table::Field ; " " ; ¶ ) ; Master::Keyword ) )

but you'll have to filter all punctuations.

  • Author

That's the solution I was hoping to find.  Simple.  And versatile.  I can certainly handle the punctuation aspects of it.  In fact, there might be other uses that can benefit from special characters that I can find and exchange.

 

Thanks very much!!!

 

 

 

@MrVodka:  "In the Portal Record create a calculated Search Field".  A reasonable method, certainly with advantages ... but I can't add a field.  Thanks, for the suggestion.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.