Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7848 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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.

Posted

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

This topic is 7848 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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