# GETDBCOLUMNNAMES

#### Syntax <a href="#syntax.22" id="syntax.22"></a>

**GETDBCOLUMNNAMES**(*widget*)

1. *widget* - a reference to the widget from which the db column names should be returned - ***Value type**: widget reference*

#### Remarks

* The function returns a range of rows containing the DB column names, with the same text that is displayed in the db column list in the Connection tab.
* If GETDATA is called with a parameter, i.e. a self-defined statement, the function does not return values for all connector types. This functionality is offered step-by-step.

#### Example

The row widget is filled with the db column names which are specified for the table widget in the Connection tab.

<figure><img src="https://1085786630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWv5M2BoEVu0kDIV5EPs4%2Fuploads%2Fgit-blob-95750fec81a829e8dce72d0d74650ede10f2e669%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
