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.

Featured Replies

Hi! could someone please tell me if it's possible to search for 2 different criteria in one field? for example for the search to just show the sales reps AC and LR. Is this possible.

Thanks for any advice.

CHRIS.

Yes Chris,

It is possible to run two find requests simultaneously.

What you need to do is go into Find mode and put in your first criterion (ag AC into sales reps). Then, before you proceed with the find, go to the Requests manu and select the Add New Request command. That will give you a second find request into which you can enter your second criterion (eg LR into Sales reps).

Now when you press enter or click 'Find' to proceed, both sets of criteria will be part of the search and the found set will combine all the records which met either criterion.

  • 3 years later...

Is there anyway to script this?

Yes one line makes it posible to hardwire inside the requests:

Perform Find[

...you can then use the Modify Last Find, to alter the hardwired via scriptparamters or such. This can be done this way:

Set Error Capture [ On ] 

Perform Find [ Specified Find Requests: Find Records; Criteria: trib::sales_reps: “AR” Find Records; Criteria: trib::sales_reps: “LR” ] [ Restore ] 

If [ Length ( Get ( ScriptParameter ) ) ] 

      Modify Last Find Set Field [ trib::sales_reps; MiddleValues ( Get ( ScriptParameter ) ; 1 ; 1 ) ] 

      Go to Record/Request/Page [ Next ] 

      Set Field [ trib::sales_reps; MiddleValues ( Get ( ScriptParameter ) ;2; 1 ) ] 

End If Perform Find [  ] 

Set Error Capture [ Off ] 

The way it works is if the script is overloaded with two return delimited values in the scriptparameters, are each considered a requestvalue, otherwise will the script find the default two salesmen. You could build it further to accept even more values by looping beyond the two hardwired, by including a New Record/Request step for each paramter in excess of the two.

--sd

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.