# Default value for datatabele fields

**URL:** https://talk.remobjects.com/t/default-value-for-datatabele-fields/34137
**Category:** Data Abstract
**Tags:** delphi
**Created:** [October 14, 2026, 8:55am UTC](https://talk.remobjects.com/t/default-value-for-datatabele-fields/34137 "2026-10-14T08:55:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tstoicescu](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@tstoicescu](https://talk.remobjects.com/u/tstoicescu)
#### Post date: [October 14, 2026, 8:55am UTC](https://talk.remobjects.com/t/default-value-for-datatabele-fields/34137/1 "2026-10-14T08:55:29Z")

</div>

Hello,

When mapping a table using SchemaModeler, default field values ​​are captured as well, which is great. However, FirebirdSQL TIMESTAMP fields support constants such as CURRENT\_TIMESTAMP, CURRENT\_DATE, ‘NOW’, etc.

These values ​​are captured exactly as-is, but applying them to the field causes an error because they are treated as strings. Is there a way to convert these constants into their actual values? How should this issue be handled according to the framework’s design?

It is not a critical issue; it is simply a nice way to transfer default values ​​declaratively.

Best Regards,

Tiberiu

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [October 14, 2026, 12:55pm UTC](https://talk.remobjects.com/t/default-value-for-datatabele-fields/34137/2 "2026-10-14T12:55:15Z")

</div>

Hi,

I think we will keep default values for simple types (strings and numbers) and remove them for other types.  
other DB like MSSQL, SQLITE, MYSQL, etc can use functions in default values. we can’t handle these values anyway …

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [October 14, 2026, 12:58pm UTC](https://talk.remobjects.com/t/default-value-for-datatabele-fields/34137/3 "2026-10-14T12:58:29Z")

</div>

Logged as [bugs://D19724](https://www.remobjects.com/portal/bugs/?id=D19724).

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [October 14, 2026, 12:59pm UTC](https://talk.remobjects.com/t/default-value-for-datatabele-fields/34137/4 "2026-10-14T12:59:00Z")

</div>

Logged as [bugs://D19725](https://www.remobjects.com/portal/bugs/?id=D19725).
