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.

How to script this find crtieria

Featured Replies

I have two fields: City and Affiliations. Affiliations is a value list

field which have values, say A, B, C, D.

I want to find records based in New York AND Stamford AND with either

affiliations of A OR C.

How do I script this find?

Kfok,

I see only one possibility (but i maybe wrong...):

find modus : search for New York, (dont'press enter)

goto >request > add new request

search for Stamford. Press enter.

Now create a script with 'Perform find', restore, replace found set.

Loop through the records all delete all records where affiliations not equal A or C.

Hi kfok,

You want to do an "AND" Find.

An "AND" find will find only those the records that meet "ALL" of the criteria. Your request should look like this:

Enter Find Mode

Type in Field1 = New York

Type in Field2 = A

Type in Field3 =Stamford

Hit the Enter (Return) Key

An "OR" find will find records that meet any Criteria for each of the requests. That would look like this:

Enter Find Mode

Field1 = New York

New Record Request

Field2 = A

New Record Request

Field3 = Stamford

Hit the enter key

This will find records that either meet the criteria of request one, Request two, or Request Three.

HTH

Lee cool.gif

Addendum to my other posts.

I got caught up in how Balder had explained the finds, and overlooked the fact that you were wanting a script.

To hard code a script, just change the find to something like this. Open ScriptMaker, name your script and use these steps.

Enter Find Mode []

Set Field [

You need two requests in the script:

1) New York, Stamford, A

2) New York, Stamford, C

You are OR'ing two AND requests.

I only showed the first find (i.e. A).

Two find them both in the same Script than you would have to add the second request like this.

Enter Find Mode []

Close, but New York and Stamford should be separate requests.

Enter Find Mode [ ]

Set Field [City,

Well, whatever Ken wants to find, the answer ought to be in this thread somewhere.

Lee

biglaff.gif

Upon rereading Ken's original post, I see that there would be four requests:

1) New York, A

2) New York, C

3) Stamford, A

4) Stamford, C

Here, you're OR'ing four AND'ed requests.

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.