Crosstab.property
(DataWindow object)
Description
Settings for a DataWindow object whose presentation style is
Crosstab.
Applies to
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.Crosstab.property |
Describe and Modify argument:
|
1 |
"DataWindow.Crosstab.property { = value }" |
|
Parameter |
Description |
|---|---|
|
property |
A property for a Crosstab DataWindow. Properties |
|
value |
A string expression listing the items to be |
|
Property for Crosstab |
Value |
|---|---|
|
Columns |
(exp) A string containing a comma- or tab-separated Painter: Columns |
|
Rows |
(exp) A string containing a comma- or tab-separated Painter: Rows option. |
|
SourceNames |
(exp) A string containing a comma-separated list of Painter: Source Data |
|
StaticMode |
A string indicating whether a dynamic crosstab Values are: Yes — No — (Default) StaticMode is Painter: Not set in painter. |
|
Values |
(exp) A string containing a comma- or tab-separated Painter: Values option. |
Usage
In the painter
For DataWindow objects with the Crosstab presentation style, set
the values in the Crosstab Definition dialog box. To display the dialog
box, right-click in the Design view to display the pop-up menu and
select Crosstab.
Examples
|
1 2 3 4 5 6 7 8 9 |
setting = dw1.Object.DataWindow.Crosstab.Columns dw1.Object.DataWindow.Crosstab.Columns = "dept_id" setting = dw1.Describe("DataWindow.Crosstab.Columns") dw1.Modify("DataWindow.Crosstab.Columns='dept_id'") dw1.Modify("DataWindow.Crosstab.Rows='salary'") dw1.Modify("DataWindow.Crosstab.SourceNames=" & + "'Order Number, Item Number, Price'") dw1.Modify("DataWindow.Crosstab.Values='empname'") dw1.Modify("DataWindow.Crosstab.StaticMode='yes'") |
See also
CrosstabDialog function in the the section called “CrosstabDialog” in DataWindow Reference