DataWindow controls and DataStore objects
The DataObject property specifies the name of the DataWindow object or Report object associated with the DataWindow control or DataStore.
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.
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"