A script-enabled browser is required for this page to function properly.

Database Value Property

Description

For a base table item that is part of a database record whose status is QUERY or UPDATE, Database_Value returns the value that was originally fetched from the database. When a fetched value has been updated and then subsequently committed, Database_Value returns the committed value.

For a control item that is part of a database record, Database_Value returns the value that was originally assigned to the item when the record was fetched from the database.

For any item that is part of a non-database record whose status is NEW or INSERT, Database_Value returns the current value of the item.

Note: You can examine the Database_Value property to determine what the value of an item in a database record was before it was modified by the end user.

Note: You can examine the SYSTEM.RECORD_STATUS system variable or use the GET_RECORD_PROPERTY Built-in to determine if a record has been queried from the database.

Applies to:

all items except buttons, chart items, and image items

Set not settable

Refer to Built-in:

GET_ITEM_PROPERTY