Initial

Description

The initial value of the column in a newly inserted row.

Applies to

Column controls

Syntax

PowerBuilder dot notation:

dw_control.Object.columnname.Initial

Describe and Modify argument:

"columnname.Initial { = ' initialvalue ' }"

Parameter

Description

columnname

A string containing the name of the column for which you want to get or set the initial property.

initialvalue

A string containing the initial value of the column. Special values include:

  • Empty – A string of length 0

  • Null – No value

  • Spaces – All blanks

  • Today – Current date, time, or date and time

Examples

Example 1

setting = dw1.Object.empname.Initial

dw1.Object.empname.Initial = "empty"

Example 2

setting = dw1.Describe("empname.Initial")

dw1.Modify("empname.Initial='empty'")

dw1.Modify("empstatus.Initial='A'")