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.

Calculated Field

Featured Replies

Hi all. New to Filemaker, but getting somwhere day to day has been interesting.

If ( Account = "New" ; "XXXXXXXXXXX" ; "")

I have a field calculation that if the corresponding field contains certain text it will result in specific text in the calculated field. So far that works just fine, as long as the reference field contains that exact text ( at least at the beginning of the cell )

What are my options to search the within the cell for a match? I can't seem to use * as a variable in the calculation.

Maybe this is a limitation, or better yet, I'm uneducated.

Thanks in advanced.

Regards, Mike C.

  • Author

Guess that didn't take long... GO GO Gadget patterncount...

Thanks anyways, sure I'll have more questions.

Regards, Mike C.

Welcome Mike,

You can use the Exact function to be explicit where you wish to make sure the field is an exact match. http://fmforums.com/forum/showtopic.php?tid/194162/post/285587/hl/exact/fromsearch/1/

If ( Exact ( Account ; "New" ) ; "XXXXXXXXXXX" ; "")

or you may try PatternCount() to determine if the Field matches some pattern string that you are expecting.

hope that helps.

  • Author

That's a good idea... I'll try that too...

I have another question.

Is there a way to modify a script based on option/ctrl click?

If I option/ctrl click a button the script will perform alternate?

Regards, Mike C.

See:

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

  • Author

If [ Get ( ActiveModifierKeys ) = 1]

Delete Record

Else

Create New Record

End If

Complements Dwayne Wright & Google... Sorry for wasting time.

Regards, Mike.

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.