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

Trouble with dynamically created Find step


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

Recommended Posts

Posted

The Perform Find script step has an option for "Restore find options". Make sure that this is unchecked.

Chuck

Posted

Chuck, "restore find requests" in the options box of the Perform Find script step _is_ unchecked, as I stated in my posting. This is what's confusing me.

Posted

Just for our other readers: there are two places to uncheck restore, in Enter Find Mode [] and Perform Find [].

As you have stated, you've done a step by step check and the script is OK up until the perform find. I can think of a few possibilities. 1) try a "Halt Script" step right after the find. This will guarantee that some other subsequent script is not changing the result. 2) Delete the "Perform Find" step and recreate it. I've found a few wierd instances where FM has a corrupted script step that won't work properly. 3) Replace the script with a completely new one if 2) doesn't solve the problem.

Just a late thought. Copy and paste require the fields to be visible on the layout. Make sure the script is navigating to the proper layout. It is easy to do this manually without thinking when you are doing diagnosis.

As a general programming technique, I wouldn't use copy and paste. I prefer to create global fields in the first file and link the two files with contant fields in a relationship (i.e. constant = 1 matches constant = 1). Then use Set Field to put the find criteria in the globals in the first file, move to the second file and again use the Set Field step to copy the related globals to the actual fields in find mode.

-bd

[This message has been edited by LiveOak (edited November 18, 2000).]

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