Cancel a search / find result
How would I adjust this script to cancel a find if the item's status is "Not Available"? So far I can only get it to display a message, any suggestions?
Enet Find Mode [ ]
Set Field [ Assets :: __KeypFieldName; Assets :: g_Barcode ]
Set error capture [ ON ]
Extend Found set [ ]
If [ Assets :: Status = "Not Available" ]
Show custom dialog [ "Message"; "This asset is currently checked out." ]