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.

Need to search textstring longer than 20

Featured Replies

  • Newbies

I need a solution (script?) that would allow me to search a text field containing one long string for the presence of a sequence. I've read that Filemaker will only search the first 20 characters in a word, and 60 characters total. Can one make a script that would search the first left 20, then positions 10 - 30, then 20 -40, etc. Or is this not possible?

[email protected]

Not exactly true, you are confusing two different things. FileMaker only INDEXES the first 20 characters of a contiguous string in a text field. Searching for a string can be done with a calculation and will work up to the maximum length of a text field (64K characters).

Flag (number) = PatternCount(Field, "abcxyz") > 0

-bd

Filemaker will index "words" up to 20 characters, and "lines" up to 60 characters. A "word" is a series of characters unbroken by spaces. A "line" is a series of words unbroken by a paragraph character.

LiveOak's solution is a good one if you are looking for a specific sequence of characters. If you are doing more generic searching, then you will need to make sure that you setup you data with the restrictions in mind.

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.