> ## 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.

# Select company

> Select company

This element adds the **Select company** field to your screen.

## Configuration

| Setting        | Description                          |
| :------------- | :----------------------------------- |
| notEmpty       | Whether an empty choice is OK        |
| controlVersion | The version of this element (1 or 2) |

### Selecting company

It's possible to define the columns used to select a company in reg\_id=227 (v. 4.9).

**Syntax:**
\[displayField:searchField:op:label],\[displayField:searchField:op:label],\[displayField:searchField:op:label]

## Functions

### setValue(String id)

Sets the selected company with the given ID.

### toInteger()

Returns the selected company ID as a number.

### toString()

Returns the selected company ID as a string.


## Related topics

- [Create a new company](/en/company/learn/create.md)
- [Select all companies](/en/api/web-services/howto/company/get-all-contacts-rest.md)
- [Companies](/en/mobile/company/index.md)
- [Add company](/en/mobile/company/create.md)
- [Merge companies](/en/company/learn/merge-companies.md)
- [Manage "Our companies"](/en/admin/user-management/our-companies.md)
- [Copy a company](/en/company/learn/copy.md)
