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.

Using a script variable in a Perform multiple Finds

Featured Replies

  • Newbies

I understand how to use the technique of set field with a Find request.

What I'm trying to do is to find on a first field and then omit on a second field  - using variables in both cases.

I don't know how to set up the Omit script step.

It sounds like you want to find some records and exclude certain ones from the results. See it this helps.

http://www.filemaker.com/help/15/fmp/en/#page/FMP_Help%2Fomitting-records.html

For example, to find vendors in the state of New York, except those in the city of Albany, start by typing New York in the State field.
2. Click New Request in the status toolbar.
3. Type criteria for the records to exclude, and click Omit.
To exclude Albany, you would type Albany in the City field and click Omit.
4. Click Perform Find.
 
  • Author
  • Newbies
15 hours ago, Lee Smith said:

It sounds like you want to find some records and exclude certain ones from the results. See it this helps.

http://www.filemaker.com/help/15/fmp/en/#page/FMP_Help%2Fomitting-records.html

For example, to find vendors in the state of New York, except those in the city of Albany, start by typing New York in the State field.
2. Click New Request in the status toolbar.
3. Type criteria for the records to exclude, and click Omit.
To exclude Albany, you would type Albany in the City field and click Omit.
4. Click Perform Find.
 

Yes, that is what I want to do  - BUT

1) I want to script it

2) the field names and entries to search on should be variable  - so basically using the Set Field by Name function to make the entry in the Find screen.  I just don't know how to turn that into an OMIT instead of Find.

 

Maybe exactly like it says.

New Record/Request

Set Field [ ........ ]

Omit Record/Request

Perform Find [ ]

mixed find.png

find with omit.png

1 hour ago, ljharris said:

the field names and entries to search on should be variable

That's a rather meaningless requirement. Tell us where would the values for these variables come from.

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.