---
url: >-
  /statelake/scripting-reference/classes/db-connection-class-tflodbcon/dbcon.database.md
---

# DBCon.Database

Returns the database name that is configured in the **DB Connection**.

**Declaration**: property Database : String;

The following is an example of its use.

```pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := Source.DBCons[0].DBCon.Database;
end;
```
