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 am a new member struggling with the following problem. I want to search on two fields and I’m using the ‘constrain found’ set to do this. However it is not working. Can you help? The script is as follows.

Enter Find Mode[]

Set Field [Customer::User;Get(Accountname)]

Perform Find []

Constrain Found Set []

Enter Find Mode []

Set Field [Customer::DateCreated; Get(CurrentDate)]

Perform Find []

The above script returns the records by CurrentDate, but not CurrentDate and User.

I would appreciate your thoughts.

How about this:

Enter Find Mode[]

Set Field [Customer::User;Get(Accountname)]

Set Field [Customer::DateCreated; Get(CurrentDate)]

Perform Find []

Why not try setting both fields before performing the find.

Enter Find Mode

Set Field [Customer::User; Get(Accountname)]

Set Field [Customer::DateCreated; Get(CurrentDate)]

Perform Find

Edited by Guest
Sorry, I think Ted and I were replying at the same time.

Try it like this:


Enter Find Mode[]

Set Field [Customer::User;Get(Accountname)]

Set Field [Customer::DateCreated; Get(CurrentDate)]

Perform Find []

Just to explain why your version didn't work, it should be:

Enter Find Mode[]

Set Field [Customer::User;Get(Accountname)]

Perform Find []

Enter Find Mode []

Set Field [Customer::DateCreated; Get(CurrentDate)]

Constrain Found Set []

IOW, Constrain Found Set [] comes INSTEAD OF Perform Find [].

  • Author

Thanks. It worked fine. I think I overcomplicated it, thinking I had to constrain a found set first and then do another find on that set.

  • Author

Thanks. It worked fine. I think I overcomplicated it, thinking I had to constrain a found set first and then do another find on that set.

  • Author

Thanks. I was looking for an explanation of why this did not work - the constrain found set[] replaces perform find []. Just one more question. It appears to make more sense to put the constrain found set [] after the first find, rather than at the end of the second find, does it not? My logic was to constrain on the first find and then do a second find on the constrained set.

The first find does Perform Find[], which REPLACES the current found set. The second one does Constrain Found Set, which REDUCES the (new) current found set. Each one needs to have search criteria BEFORE it can do anything.

  • Author

Gotcha. Much appreciated.

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.