Crosstab.property DataWindow object property
Description
Settings for a DataWindow object whose presentation style
is Crosstab.
Controls
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.DataWindow.Crosstab.<span>property</span> |
Describe and Modify argument:
|
1 |
"DataWindow.Crosstab.<span>property</span> { =<span> value</span> }" |
|
Parameter |
Description |
|---|---|
|
property |
A property for a Crosstab DataWindow. |
|
value |
A string expression listing the items |
|
Property for Crosstab |
Value |
|---|---|
|
Columns |
(exp) A string containing Painter: Columns option. |
|
Rows |
(exp) A string containing Painter: Rows option. |
|
SourceNames |
(exp) A string containing Painter: Source Data option. |
|
StaticMode |
A string indicating whether a dynamic Values are:
Painter: Not set in painter. |
|
Values |
(exp) A string containing 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 |
setting = dw1.Object.DataWindow.Crosstab.Columns |
|
1 |
dw1.Object.DataWindow.Crosstab.Columns = "dept_id" |
|
1 |
setting = dw1.Describe("DataWindow.Crosstab.Columns") |
|
1 |
dw1.Modify("DataWindow.Crosstab.Columns='dept_id'") |
|
1 |
dw1.Modify("DataWindow.Crosstab.Rows='salary'") |
|
1 |
dw1.Modify("DataWindow.Crosstab.SourceNames=" & |
|
1 |
   + "'Order Number, Item Number, Price'") |
|
1 |
dw1.Modify("DataWindow.Crosstab.Values='empname'") |
|
1 |
dw1.Modify("DataWindow.Crosstab.StaticMode='yes'") |
See Also
-
CrosstabDialog function in
the PowerScript Reference