DataObject GetDataObject()
The return value is a reference to the DataObject object associated with this DataView.
None
This method obtains the DataObject associated with the DataView.
/* 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;