Jump to content

Using a script variable in a Perform multiple Finds


This topic is 2548 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

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.
 
Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

This topic is 2548 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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