Language Reference Guide : 4. System Classes : MatrixField Class : WhichCell Method
 
Share this page                  
WhichCell Method
The WhichCell method returns the row and column in which the specified field is located.
This method has the following syntax:
smallint = MatrixField.WhichCell(cellfield = Form_Field,
                           row = byref(integer_variable),
                           column = byref(integer_variable))
If the specified field is not a child of the matrix field, this method returns FALSE.
This method has the following parameters:
cellfield
Specifies the form field you want to locate
row
Specifies the row
column
Specifies the column