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

I have a request from a colleague in the office to be able to search for records that only have a specific checkbox or checkboxes activated in a global field derived from a value list. Therefore ignoring those that have additional or other boxes checked. 

So far I have played with the following script. I'm typing this from memory so haven't added in error capture etc. 

Set Field ($search ; "==" & client::interests)          Note.  client::interests is selected by the user from checkbox options

Enter FInd Mode [ ] 

Set Field (client::interests ; $gsearch)

Perform Find [ ]

 

So for example:- 

3 records and the client::interest field options as follows. 

1: Tennis, Football, horseracing, Rugby    2: Tennis Rugby    3: Rugby, Sailing, Tennis

Set Field ($search ; "==" & "Tennis Rugby")

Enter FInd Mode [ ] 

Set Field (client::interests ; $gsearch)

Perform Find [ ]

ONLY records 2 should be returned.

 

It works but as an exact match if I ensure both client::interests and $gsearch are sorted A-Z  and can fall over if carriage returns exists and so on. Just not confident this is the best and most robust way to solve the issue. Any thoughts appreciated. 

 

Thanks Zab

44 minutes ago, scoony said:

ONLY records 2 should be returned.

Why?

You could make a smaller card window, with just the checkboxes as global fields, with a 'Cancel' and 'Search' button.  Cancel would clear the globals, close the window.

Search would gather the globals, close the window and perform an 'or' find by looping thru each value.

Something like this:

script.docx

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.