get (lasterror) condition
I use this function "If Get (LastError) > 0" several times in my script while performing several searches on different layouts.
Is there any way to clear it? E.g. if I get the error at 1st time, go further, and when the script uses it second time it does not make sense, because it will be > 0. So I want to clear its condition to perform next LastError check.
As I have found here: https://www.filemaker.com/12help/html/func_ref2.32.42.html
When you perform a script that uses this function with control script steps, the control script steps do not clear the last error condition