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

Initializing Global Variables with Default Value

You can use the DEFAULT_VALUE Built-in procedure to assign a value to a variable whose value is NULL. If the value of the indicated variable is not NULL, DEFAULT_VALUE does nothing. If the variable to which the value is being assigned is an undefined global variable, Oracle Forms creates the variable.

The following example creates a global variable named country and initializes it to the value FRANCE:

Default_Value('FRANCE','GLOBAL.country');