Initial value property

Official Content
This documentation is valid for:
To initialize attributes and variables based on domains in any object, with a constant value, formula or procedure, when a reorganization is necessary.

Description

It initializes the value of attributes of any GeneXus object. It initializes variables based on attributes or domains, and performs initial value calling procedures, and loading SDTs, too. The values to be given to the property must correspond to the attribute's data type.

Note

This property is not available when the attribute is a formula.

Samples

To date: #10-12-23#
To datetime: #10-12-23 08:12:36#
To numeric integer: 4326
To numeric decimal: 4326.93
To character (take into account the quotes): 'Hello World'
To boolean: TRUE/FALSE

Scope

Platforms: Web(.Net, Java)