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.

Simple Find Script Problem

Featured Replies

I am having a problem with a simple find script. here is the script

Enter Find Mode[]

Set Field["Talent", "ShowTalent::Talent"]

Perform Find[]

However when I run this script is continue to get the previous find request. I can't seem to override that info. I am sure this is something very basic I am doing wrong, but it is stumping me at this point.

------------------

Thanks, Kevin

Highlight the Perform Find and uncheck the box restore at the bottom, also when the dialog box comes check the "Replace" for the "Find"

HTH

Lee

wink.gif

Unless the "ShowTalent" relationship is defined with a global on the left side of the relationship, it won't work in Find mode. This is because, once you enter Find mode, you're no longer "in" a record, so only globals can retain their values from Browse to Find mode. And even if your relationshpt is set up with a global, it will only set it to the value in the first related record.

  • Author

Thanks! That was my problem. The variable I was using to set the Find field was not global. I added a global variable to hold the find request and everything worked fine. The resulting script looks like this:

Set Field["GlobalVar", "ShowTalent::Talent"]

Enter Find Mode[]

Set Field["Talent", "GlobalVar"]

Perform Find[]

Thanks for the help.

-Kevin

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.