# Connection

The Connection property defines if another widget should be used for the database connection.

#### Syntax

To use the connection of another widget, the standard widget reference syntax is used within the Connection formula:

<mark style="color:blue;">#widgetName</mark>

or (if the widget is on another page):

<mark style="color:blue;">#pageName.widgetName</mark>

#### Remarks

* With the connection property it is possible to use the same database connection from many other widgets.
* If a widget uses the connection of another widget, the adopted connection properties are displayed as read-only in the connection tab. Only the table menu is available, to select the database table or view from which the data is displayed.

#### Examples

The table uses the connection, which is defined in the "WinesDB" button.\
Only the table menu is available in the Connection tab, all other parameters can only be changed in the "WinesDB" button widget.

<figure><img src="https://3148043601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL43fiRbeRtPnTjMpbGNO%2Fuploads%2Fgit-blob-b8d84dad91fe5cc3009963b2e9be2f4d8ae342d9%2Fimage%20(107).png?alt=media" alt=""><figcaption></figcaption></figure>
