DWItemStatus

Description

Values for specifying how DataWindow data will be updated in the database.

Values

PowerBuilder enumerated value

Web DataWindow

Numeric value

Meaning

NotModified!

NotModified

0

The information in the row or column is unchanged from what was retrieved.

DataModified!

DataModified

1

The information in the column or one of the columns in the row has changed since it was retrieved.

New!

New

2

The row is new but no values have been specified for its columns. (Applies to rows only, not to individual columns.)

NewModified!

NewModified

3

The row is new, and values have been assigned to its columns. In addition to changes caused by user entry or the SetItem method, a new row gets the status NewModified when one of its columns has a default value. (Apples to rows only, not to individual columns.)

NoteWeb DataWindow In Web DataWindow methods, you can use a string value with or without the exclamation point for DataWindow status. For example, you could use DataModified or DataModified! to specify that column or row information has been changed since it was retrieved.

See also

SetItemStatus describes how to change individual item statuses and how the status affects the SQL statements that update the database.