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.

Constrain using a Variable?

Featured Replies

Hello. Does anyone know if it is possible to use the constrain found set but to specify criteria as a variable?

pseudo code example ...

action omit records | criteria mytable::myfield: [$$variable]

What I suspect is happening is the literal "$$variable" is being entered into myfield rather than the contents of $$variable.

I'd prefer to get this working rather than using enter find mode, set fields and omit records ... I'll spare you the details.

So, can you use a variable to constrain a found set? If so, how??

Cheers

Tim

What I suspect is happening is the literal "$$variable" is being entered into myfield rather than the contents of $$variable.

That is correct. Stored criteria can use only constants, not variables or calculations. Why can't you use Set Field[] like the rest of the world does?

  • Author

Thanks for clearing that up.

Sorted now and way and yes I used setfield.

Cheers

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.