John Chamberlain Posted May 6, 2007 Posted May 6, 2007 Is it posssible to have more than 1 Perform Find command in a single script? e.g Peform Find (look for a field match) do some processing Peform Find (look for a differnt field match) do some different processing I could really simplify a bunch of things, if this is possible. Any help will be appreciated.
Ender Posted May 6, 2007 Posted May 6, 2007 (edited) In FM6 and earlier, each script can only store one set of find criteria in Enter Find Mode[] or Perform Find[]. However, you can use those steps without the criteria stored, and use Set Field[] to insert your own criteria: ... Enter Find Mode[] Set Field [ field ; "value1" ] Set Error Capture [ On ] Perform Find [] ... Enter Find Mode [] Set Field [ field ; "value2" ] Perform Find [] ... In FM7/8, a script can store multiple criteria in different Find steps, but I still find it easier to write and debug if the criteria is explicitly entered in separate Set Field[] steps. Edited May 6, 2007 by Guest
Recommended Posts
This topic is 6412 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 accountSign in
Already have an account? Sign in here.
Sign In Now