Topic: Can a Search Button have AND NOT something
Hello,
I have provided an application to a customer which they use to log all the technical work that comes in. The company assigns the job to a staff member who deals with it. Each service job record has a ComboBox dropdown field called Status and the user changes this as the job is updated. The values in this ComboBox are from a Dictionary table called Status. The user enters the status entries in the Status table to suit there needs and all works well. Currently they have values Closed, Completed, Open, and Started.
Once a job is invoiced in a separate invoicing software, the user sets the Status for the job to 'Completed'.
On the form that shows the list of service jobs, there are dropdown ComboBoxes for Job Status, Customer, and a Date field and these are all used on a Search button. Eg the user could Search for records with status Open for Customer name ABC.
In day to day use, the user would like to bring up the list of service jobs but not show jobs that have been invoiced as most of the interest is in the jobs that are still open. My question is how to do this, keeping in mind that the user has control over the Status field entries in the dictionary table. I am thinking about a CheckBox on the Service Job record labelled 'Invoiced'. If I do that, can that be used as part of the search button. Then the search would be along the lines of Status=OPEN and Customer=ABC and InvoiceCheckBox NOT Checked.
Does that make any sense at all. Ideally, I think it would be good if there was a CheckBox that can be included in the search button where the user selects whether to include invoiced records or not.
Any ideas would be appreciated.
Thanks, David