# 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="/files/Ofbfn7JmNgdJe9ue3Vyc" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nedyx.com/nedyx/clearlines-functions/general-aspects/calculated-widget-properties/connection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
