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.

"OR" function in Find Request script

Featured Replies

How do you create an OR function in a Perform Find script step?

Solved by mdfOffman

Go to solution

In order to perform an OR find, you need to create a separate find request for each predicate. These requests can be specified and stored in the Perform Find script step. For example, to find records where the name is Adam or Betty, it would be set up as:

image.png.5e15f6ed0473e0711b92825be74f04fa.png

If you prefer, you can do the same thing by:

Enter Find Mode [ ]
Set Field [ Table::Name; "Adam" ] 
New Record/Request
Set Field [ Table::Name; "Betty" ] 
Perform Find [ ]

The advantage here is that you can see at a glance what the search does, without drilling into the stored requests.

 

 

  • Author

Thank you so much.  I thought of that but I thought they would be AND conditions.  I guess I should have tried before asking ......

Thank you again

32 minutes ago, mdfOffman said:

I thought they would be AND conditions

AND conditions would be specified within the same request.

Note also the Extend Found Set and Constrain Found Set steps that provide additional OR an AND functionality, respectively.

 

  • Author
  • Solution

Thank you again.  You proactively answered my next question  :-)

  • 3 weeks later...
  • Author

Thank you so much for the time to help me.  After much internal debate and testing, I decided to surrender and create a "Mirror DocLinks" script.  This, of course doubles the size f the join table but I found it the simplest and most reliable way.  It works just fine though you have to be careful with the delete script which needs to delete both records but not any other records to which field 2 is connected.

Thanks again

I think you posted this in the wrong thread?

 

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.