DataObject

Description

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

Applies to

Report controls

Syntax

PocketBuilder 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 for which you want to get or set the nested DataWindow.

dwname

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

Usage


In the painter

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

Examples

Example 1

setting = dw_1.Object.rpt_1.DataObject

Example 2

dw_1.Object.rpt_1.DataObject = "d_empdata"

Example 3

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

Example 4

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