May 29, 200322 yr 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
May 29, 200322 yr 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
May 29, 200322 yr 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.
May 29, 200322 yr 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