DataObject.SelectVar

Prototypes

void SelectVar( Matrix mVarNames <, boolean bExtend> )

Parameters

Matrix mVarNames
A vector containing the names of the variables to select.

boolean bExtend
If bExtend is true, the specified variables extend any existing selection. If bExtend is false, any existing selection is cleared before the specified variables are selected. Calling this method without specifying the bExtend parameter is equivalent to calling it with bExtend equal to true.

Remarks

This method selects specific variables in the DataObject.

Example
declare DataObject dobj;
dobj = DataObject.CreateFromFile( "baseball" );
DataTable.Create( dobj ).SetWindowPosition( 0, 50, 100, 50 );
VarNames = { "team" "no_hits" };
dobj.SelectVar( VarNames );
See Also

SelectAllVar