Table Method: SelectToVector 

Purpose

Returns a Matrix object containing one vector of data from the Table object.

Syntax

The SelectToVector method has the syntax:

SelectToVector (InputData, InputAssocIndex, DataAssocIndex)

Parameters

Description

The difference between this method and the SelectToMatrix method is that the selection criteria are applied to only one column of the Table object.

The InputData parameter contains the selection criteria, however, in a two-dimensional SafeArray. This means the calling program should place the selection values in either a single row of InputData, or a single column. When you do this, the resulting matrix has:

The SelectToVector method is implemented in this way to provide compatibility with data structures imported and exported by many desktop applications such as Microsoft Excel.

If you want to apply two dimensions of selection criteria to a matrix selection, use SelectToMatrix or SelectMatrixToNumber.

For more information on the selection process, see Using SelectTo* Methods.

Related Information

SelectToMatrix

SelectMatrixToNumber

SelectVectorToNumber