CrosstabDialog – PB Docs 150

CrosstabDialog method (DataWindows)

Description

Displays the Crosstab Definition dialog box so the user can
modify the definition of a crosstab DataWindow at runtime. The dialog
box is the one you use in the DataWindow painter to define the crosstab.

Controls

DataWindow type

Method applies to

PowerBuilder

DataWindow control

Web ActiveX

DataWindow control

Syntax

[PowerBuilder]

[Web ActiveX]

Argument

Description

dwcontrol

A reference to a DataWindow control

Return Values

Returns 1 if it succeeds and –1 if an error occurs.

If dwcontrol is null, the method returns
null.

Usage

If the style of the DataWindow object in the DataWindow control
is not crosstab, CrosstabDialog has no effect.
You must connect to a database and set the DataWindow control’s
transaction object before you call CrossTabDialog.

Examples

This statement in the script for the CommandButton
cb_define displays the Crosstab Definition dialog so the
user can modify the definition of the crosstab DataWindow object
in dw_1:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x