Column.Count

Description

The number of columns in the DataWindow object.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.Column.Count

Describe argument:

"DataWindow.Column.Count"

Usage


In the painter

The value is determined by the number of columns you select in the SQL Select painter, whether or not they are displayed.

NoteColumn limit There is a limit of 1000 on the number of columns in a DataWindow object.

Examples

Example 1

string ls_colcount

ls_colcount = dw1.Object.DataWindow.Column.Count

Example 2

ls_colcount = dw1.Describe("DataWindow.Column.Count")