DataObject

Applies to

DataWindow controls and DataStore objects

Description

The DataObject property specifies the name of the DataWindow object or Report object associated with the DataWindow control or DataStore.

Usage


In a painter

StepsTo specify the name of the DataWindow object contained in a DataWindow control:

  1. Enter the name of an existing DataWindow object in the DataObject field on the General property page of the DataWindow control’s Properties view, or use the Browse button to select an object.


In scripts

The DataObject property takes a string. This example specifies d_employ as the DataWindow object in the DataWindow control dw_1.

dw_1.DataObject = "d_employ"

NoteReinitializing the DataWindow control or DataStore Setting the DataObject to an empty string reinitializes the DataWindow control or DataStore and removes all storage associated with the previous DataObject.