DataView.GetDataObject

Prototypes

DataObject GetDataObject()

Return Value

The return value is a reference to the DataObject object associated with this DataView.

Parameters

None

Remarks

This method obtains the DataObject associated with the DataView.

Example
/* create randomly sized matrix (1-10) with random data */
m = uniform( j(1+10*uniform(0)) );
declare DataTable table;
table = DataTable.Create( "Random Data", m );
table.ActivateWindow();
declare DataObject dobj = table.GetDataObject();
NumObs = dobj.GetNumObs();
print NumObs;
See Also

DataObject