DataObject

Description

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

Applies to

Report controls

Syntax

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 window, General category.

Examples

Example 1

[Visual Basic]
setting = dw1.Describe("rpt_1.DataObject")

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