November 20, 200124 yr How can I create multiple find requests in one script? I want to be able to search the same field for the lack of multiple values. I have figured out how to do it from the browse view using the find mode but I need to be able to put about 19 different find requests into one script. Also, in a script how do I search for the lack of a value? When I use the form I just click omit and enter the value into the field. However what do I type in a script to cause it to perform a find on my records and search for the lack of certain values? Thanks, Eric Nelson
November 20, 200124 yr Script it the same way you'd do it yourself: code: Allow User Abort [off] Enter Find Mode [] <-- no options --enter request1 data-- New Record/Request --enter request2 data-- New Record/Request --enter request3 data-- . . . Perform Find [] <-- no options Don't select "Restore Find Requests" in the Enter Find Mode or Perform Find steps.
November 21, 200124 yr If your search is always the same, then you can set it up by hand then save it in a script with a single Perform Find [Restore] step. If you'd rather build the find in the script, use the Omit Record script step to check the Omit box in Find mode: code: ... Set Field ["searchField",""val1""] Omit Record New Record/Request Set Field ["searchField",""val2""] Omit Record ...
Create an account or sign in to comment