14 Replies Latest reply on Mar 22, 2012 3:12 PM by MusicAndPerformingArtsDept

    Cancel a search / find result

    MusicAndPerformingArtsDept

      Title

      Cancel a search / find result

      Post

      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." ]

      End If