DataObject

Description

The name of the DataWindow object that is the nested report within the main DataWindow object.

Applies to

Report controls

Syntax

PowerBuilder dot notation:

dw_control.Object.reportname.DataObject

Describe and Modify argument:

"reportname.DataObject = ' dwname ' "

Parameter

Description

reportname

The name of the Report control in the main DataWindow object for which you want to get or set the nested DataWindow object

dwname

A string naming a DataWindow object in the application’s libraries that is the DataWindow object for the report within the main DataWindow object

Usage


In the painter

Select the control and set the value in the Properties view, General tab, Report option.

Examples

Example 1

setting = dw1.Object.rpt_1.DataObject

dw1.Object.rpt_1.DataObject = "d_empdata"

Example 2

setting = dw1.Describe("rpt_1.DataObject")

dw1.Modify("rpt_1.DataObject='d_empdata'")