Import.XML.UseTemplate  Invert

Chapter 3: DataWindow Object Properties

Initial

Description

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

Applies to

Column controls

Syntax

PocketBuilder 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 = dw_1.Object.empname.Initial

Example 2

dw_1.Object.empname.Initial = "empty"

Example 3

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

Example 4

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

Example 5

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





Copyright © 2004. Sybase Inc. All rights reserved. Invert

View this book as PDF