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.

compound find for reports

Featured Replies

  • Newbies

I'm trying to allow users to search records, using two parameters, to produce customized reports. The two search parameters are presented in their own layout through checkboxes (using two predefined value lists). Once the user has chosen one or many options within each parameter, I'm then trying to write the script that matches up the checked options to produce the correct find requests. Example:

Search 1 (options=1,2,3,4); user checks 2 & 4

Search 2 (options=A,B,C); user checks A & B

I've successfully scripted finds for each parameter (using a loop, inserting calculated result into the field to be searched), but have not managed to figure out how to combine the selections from each parameter to produce the accurate find requests (2&A, 4&A, 2&B, 4&:. Any hints?? Thanks!!

Try making a calulation field which checks each option to see if it has been selected, if it has, then set it to the calc field, use ands to separate ifs so that all data is stored, not written over top of each other. then make a layout which has all the relevant fields on it. Then in your script, perform a find which sets the data in the calc to the real fields that holds the values, and you should come up with the correct find.

There was a post about performing OR finds recently added to the forum. First read the manual on multiple find requests to see how they work, then create a script that generates the requests in Find mode and popualtes the fields with the correct values.

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.