Skip 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.

Calculation help

Featured Replies

I am needing to set up a field based on this calculation.

If "field 1" contains "insert" then "Ins"

I know for the most part how to do the If(then) calcs but I am not sure how to make it look for a string of text in field 1. I can't use the "=" operator because field 1 can contain more data than just "Insert". It could say "Insert1", "cd Insert", "BRC Insert" etc.

It could also contain data that doesn't have the word "insert" in it at all.

Please help.

I might be leading you down the wrong path, as I'm only familiar with FileMaker 7 and up, but I would use

If ( field 1 = "insert"; result )

field 1 can contain more data than just "Insert". It could say "Insert1", "cd Insert", "BRC Insert" etc.

You need Position() or PatternCount() text calculation here. Position is faster. If the word 'Insert' appears anywhere in field1, this calc will fire on it.

Case ( Position( field1 , "Insert" , 1 , 1 ) , "Ins" )

LaRetta :wink2:

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.