> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Working with search criteria

> How to add and modify search criteria

You use search criteria to define what you are looking for, for example "companies with an address in Denmark". Search criteria are used in multiple places in SuperOffice CRM, for instance in the **Find** screen and when creating selections. But, regardless of what you are using the criteria for, you work with them in the same way.

Everywhere you can enter search criteria, you will find a criteria list containing the selected search criteria.

Typical searches are there to help you get started and create your own search of CRM data. After you have selected a typical search, you can add and edit the search criteria. And after you have created a useful search that you would like to use again, you can save it as a selection.

## Add search criteria

1. Go to the criteria list.
   * Click **Find** in the top bar. The criteria list is in the **Criteria** tab.
   * Or, go to the required selection and select the **Criteria** tab.

2. Click the **Add** button.
   A new line is added to the criteria list and a list of fields to choose from is displayed.

3. Select the field you want to search for information in. You can also [enter the start of the name][2] in the appropriate field. There are different types of fields:

   * [Text](#text)
   * [Yes/No](#yes-no)
   * [Date](#date)
   * [Number](#number)
   * [List](#list)
   * [Status](#status)
   * [Counter](#counter)

4. Select values for the search criteria in the various fields on the line.

5. Click **Add** to add a new line, or click **Or** to add a new set of criteria.

### Using OR groups

You can broaden a search by grouping criteria with the OR operator. An OR group matches records that satisfy any of the criteria inside the group. This is useful when you want to include multiple independent conditions in a single search, such as customers located in different cities or customers matching alternative product criteria.

## Field types

<h3 id="text">
  Text field
</h3>

If the field you are searching in is a text field (such as a name), the search is made on text or numbers you enter. A list with the following options is displayed:

* Starts with
* Contains
* Ends with
* Equals
* Is exactly
* Does not begin with
* Does not contain
* Does not end with
* Is not

Select one of these options and then enter the search criteria in the text field on the right.

<h3 id="yes-no">
  Yes/No field
</h3>

If the field you are searching in is a Yes/No field, for example, the **No mailings** field in the Company screen, two radio buttons are displayed. You can choose between **Yes** and **No**.

<h3 id="date">
  Date field
</h3>

If the field you are searching in is a date field, for example, the **Date** field in the **Document** dialog, a list box is displayed containing the following options:

* Before
* Equals
* After
* Between
* Before today
* Today
* After today
* This...
* This and next...
* Next...
* This and previous...
* Previous...
* This, previous and next...

Select the required option. Depending on what you select, the field is automatically filled with a date or date range, or you can enter the date you want. You can also select a date in the calendar which is displayed when you click <i class="ph ph-caret-down" aria-label="Chevron" />.

<h3 id="number">
  Number field
</h3>

If the field you are searching in contains a numerical value, for example, the **Amount** field in the Sale screen, a list box is displayed containing the following options:

| Option  | Description                              |
| ------- | ---------------------------------------- |
| =       | Equals                                   |
| >       | Greater than                             |
| \<      | Less than                                |
| >=      | Greater than or equals                   |
| \<=     | Less than or equals                      |
| \< >    | Does not equal                           |
| Between | The value lies between specified figures |

Select the required option and enter the required numerical value in the text field on the right.

<h3 id="list">
  List field
</h3>

If the field you are searching in is a field containing lists, for example, the **Business** field in the Company screen, a list box appears with the options **Is one of** and **Is not one of**. For company and contact interests, the options are **Is equal**, **Is one of**, and **None of**.

1. Click the **Select items** field to display the list of values.
2. If the list is long, you can type text in the **Search criteria** fields to search for values.
3. Click outside the list to close it.

<h3 id="status">
  Status field
</h3>

If the field you are searching in is a status field, select the required status.

The statuses are created and maintained in Settings and maintenance. Status fields are only relevant if you have purchased a license for and have [enabled status monitors][5].

<h3 id="counter">
  Counter field
</h3>

[Counters][3] can be, for example, the number of sales in a period or the date of the last completed sale.

Counter fields can be found under **Counters (SAINT)** in the list of criteria.

1. To the right of the fields, click the links to specify additional criteria for the counters. The available options depend on the type of record and counter you are working with.

   * **SAINT type**: Choose the activity type you want to search for.
   * **Status**: Choose the status of the record you want to search for.
   * **Direction**: Choose if the activity is incoming or outgoing.
   * **Amount class**: Choose the sale's amount class.
   * **Intention**: Choose the intention of the activity.

2. Depending on what you selected above, a list box for a date field or a number field is displayed. These list boxes work as described above. Select the required option and enter the required numerical value or date in the text field.

The counters are created and maintained in Settings and maintenance. Counter fields are only relevant if you have purchased a license for and have [enabled status monitors][5].

## Manage list of criteria

The criteria lists contain a set of default criteria you can edit or remove as required.

When you open the **Find** screen, it contains default search criteria or the search criteria you specified the last time you used the dialog. To use different search criteria than those shown, you have the following options:

| Action                          | Steps                                                              |
| ------------------------------- | ------------------------------------------------------------------ |
| Move a criterion                | Click <i class="ph ph-equals" aria-label="=" /> and drag the line. |
| Change a criterion              | Click it and select a different one from the list that appears.    |
| Deactivate one or more criteria | Leave the value field empty.                                       |
| Deactivate all criteria         | Click **Clear all**.                                               |
| Delete a criterion              | Click <i class="ph ph-x-circle" aria-label="X" />.                 |
| Reset the list                  | Click **Reset to default**.                                        |

<Note>
  Moving a criterion has no practical effect on the search, but allows you to arrange the criteria in your preferred order. To keep unused (inactive) criteria, you can move them to the bottom if the list.

  A deactivated search criterion remains in the criteria list and can be reactivated when needed.
</Note>

[2]: ./in-navigator

[3]: ../../saint/learn/index

[5]: ../../saint/admin/set-up


## Related topics

- [The Find screen](/en/search-options/learn/find-screen.md)
- [Selections](/en/search-options/selection/learn/index.md)
