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
To specify the name of the DataWindow object contained in a DataWindow control:
-
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'
Reinitializing 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.