sript steps after find result is empty
If the findresult is empty, i would like a script step to create a new record without the message : "there isn't a record , etc
set error capture [on]
just before you perform the find. This script step suppresses almost all error dialogs until your script completes execution.
Thank you, it was the part of the action I had overseen.
I'm working in the dutch language and all te actions have other names and sometimes hard to find.
The next step after the find is: if [ (Get(FoundCount)=0]
I use that option also if the script specifies all of the criteria. If my find uses criteria entered into fields by the user, I might use get (LastError ) instead as it can provide some diagnostic information on why no records were found. (no records match is one code, no criteria specified is another...)
Retrieving data ...