AnsweredAssumed Answered

Script Error 102

Question asked by deanchampeau on Sep 27, 2017
Latest reply on Sep 27, 2017 by deanchampeau

Wow. I just wrote a simple Quickfind script that for some reason is not working...

 

If [ IsEmpty (UTL__Utility::quickFind) ]

    Exit Script [ ]

End If
Set Error Capture
[ On ]
Perform Quick Find [ UTL__Utility::quickFind ]

If [ Get(LastError) = 401 ]

    Beep

End If

Set Field [ UTL__Utility::quickFind; "" ]

 

I get a 102 error (field missing) when it does the Perform Quick Find step. I verified that the quickfind field is indeed a global, and it's obviously on the layout. I've written scripts pretty much identical to this one many times, with no problems. Any clue what the problem is here?

Outcomes