6 Replies Latest reply on Dec 7, 2011 10:00 AM by mgores

    I want to find some things and omit others in a script

    weedonpaul

      Title

      I want to find some things and omit others in a script

      Post

      Hi

      I'm trying to set up a script that askes a user to enter company name and then searches for all jobs relating to that customer, but i also want to omit finished jobs.  my script works until i try the omit part.

      My script is:

       

      Show all records

      enter find mode[]

      show custom dialog ["name";"question";Table::company]

      if [get(lastmessagechoice)=2]#this is so that if user clicks button 2 it shows all records#

      perform find[restore]

      endif

      perform find[]

       

      where would i put the omit bit in?