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.

Filter a Portal with a Calculation Field

Featured Replies

I’m trying to setup a portal that filters records with a calculation field.

I have a set of Disk table records that have the fields Disks::Title and Disks::FirstLetter = Left(Title,1).


The user selects a letter from a value list attached to a global field gFirstLetter. A dropdown displays values A through Z.

The portal TO, FilterDisks, is a self join, using the “x” operator. It uses the filter criteria FilterDISKS::FirstLetter=FilterDISKS::gFirstLetter.
When a value (A to Z) is selected by the user I expect the portal to display only records beginning with that letter.
However, it does not display the records properly. Sometimes, but nor always, by clicking outside gets it to work.


I guess my question is: can portals be filtered with a calculation field?

 

  • 1 month later...

Via Layout View you can Set Script Trigger to the field where user types first letter, choose OnObjectKeystroke. And create a script with 2 steps: Commit Record and Refresh.

Also I would recommend in field properties on Inspector Window choose the right tab (Data) and click on a check-box that says "Select entire contents on entry"

Edited by Pavlk

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.