DataView.Close

Prototypes

void Close( <boolean bCloseDataObject> )

Parameters

boolean bCloseDataObject
If true, the associated DataObject is closed if the view is the only view attached to the DataObject. If false, the associated DataObject is not closed. Calling this method without a parameter is equivalent to calling it with bCloseDataObject equal to true.

Remarks

This method closes the DataView. You cannot call any methods on a DataView after you call its Close method.

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();
pause "Click Resume to continue";
table.Close();
See Also

DataObject.Close