INITIALVALUE keyword

Applies to

The data source field of variable-bound components

Description

Normally, when a component is bound to a variable, the component is initialized (at form load) with the value of the variable. Use this keyword to override this behavior, and apply a specific value to the variable, and the component, at form load time.

For example, specify

 variables.SomeVariable(INITIALVALUE(Start with this))

in the data source of a component to bind the component to the variable SomeVariable, and to cause the component, and the variable SomeVariable, to receive the value "Start with this" when the form first loads.