I want to find some things and omit others in a script
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#
where would i put the omit bit in?