To create a crosstab:
-
Select File>New from the menu bar.
The New dialog box displays.
-
Select the DataWindow tab.
-
Select the Crosstab presentation style, then click OK.
-
On the Choose Data Source for Crosstab DataWindow page, specify the data you want retrieved into the DataWindow object.
For more information, see Defining DataWindow Objects.
-
In the Define Crosstab Rows, Columns, Values page, enter the definitions for the columns, rows, and cell values in the crosstab.
-
Click Next.
-
Choose Color and Border settings and click Next.
-
Review your specifications and click Finish.
PowerBuilder creates the crosstab.
-
(Optional) Specify other properties of the crosstab.
See Enhancing crosstabs.
-
Save the DataWindow object in a library.