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.

If statements in Find mode

Featured Replies

Hey

I just discovered something cool... this is version 5.0v3 but it may also work in v4 too (I expect it will but not tried it yet).

I have a scripted search -- users clicks "search" button, script changes to search layout and into find mode then pauses to allow entry of criteria, when script resumes it performs find and changes to browse layout. I've just discovered that while in Find mode I can use IF statements to look at field entries in the find request, and perform text manuiplations them on-the-fly using SET FIELD statements.

Heh Heh. This is way cool.

I was having trouble with a find in a portal to a related field, specifically trying to find an *empty* field. The script uses an IF to see whether in the find request the user is searching for an empty field, and if so it prepends "==" and adds quotes around the string, inserts the search string into a calculation field, deletes the user-entered text from the original fields, then performs the find.

And it works! Seems pretty robust too.

God I love FMP.

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.