MaxInColumn Method

Applies to a design table sheet. Returns the greatest of a column values.  Returns 0 if the column does not contain numerical values or if the method arguments are not properly specified.

Syntax

sheet.MaxInColumn(columnIndex: Integer): Real

Example

MaximumValue=Relations\DesignTable1\sheet_name.MaxInColumn(1)
Message("Maximum value is # (0.150 is expected)", MaximumValue)

Sample

KwrProgramDT.CATPart

 

Back Up Next