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

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

Recommended Posts

Posted

Maybe I am just missing something, but is it possible to use a variable when setting the criteria for a Perform Find[Restore] step in a script.

For example, Stock::Description:[=$Cur_Strategy], where $Cur_Strategy is a variable set in the current script.

Thanks,

Bill

Posted

Hey!

You have to do the following:

Enter Find Mode

Set field [ Stock::Description; $Cur_Strategy ]

Perfrom Find

That should do it.

Posted

Thanks, I keep forgetting about using find mode in a script.

The problem is that now it does not matter if I select Perform without dialog, I have to click Find either way to finish the script.

It works after I click Find, but the point of using the script is to automate such steps, right?

Posted

bdonelson,

Look at your find script step - Do you have the Pause checkbox checked? If you used the script that Martha suggested, you shouldn't have to click a button.

Mike

Posted

That's what I would have thought.

The Enter Find Mode [] step has neither Pause or Specify find requests checked.

The Perform Find/Replace [No dialog] step has Perform without dialog checked.

Needless to say, I am a little bit confused. :confused:

Posted

Ahh, there's the problem. Use Perform Find and NOT Perform Find/Replace. The Perform Find script step is the first one under FOUND SETS.

Mike

This topic is 6737 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.