Table Method: SelectToMatrix 

Purpose

Returns a Matrix object containing a two-dimensional view of one column of the table.

Syntax

The SelectToMatrix method has the syntax:

SelectToMatrix(RowVector, RowAssocIndex, ColumnVector,

ColumnAssocIndex, DataAssocIndex)

Parameters

Description

The SelectToMatrix method selects data from the Table object based on selection criteria applied to two columns of the table. For each row where the two columns match the selection criteria, data values from a third column are collected. The data collected is then returned as a two-dimensional Matrix object, using the selection criteria as values for the row and column dimensions.

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

Related Information

SelectMatrixToNumber

SelectToVector

SelectVectorToNumber