Checks if a value in the specified column is identical with the value in the previous row of the same column and returns a boolean. The offset may optionally be specified if greater an 1.
Syntax
XIH.EqualsPrev(colcaption)
XIH.EqualsPrev(colcaption, offset)
Parameters
Parameter | Data type | Description | Sample |
---|---|---|---|
colcaption | string | String specifies the columns caption. | "col1" |
offset | int | Optionally specifies the row offset. Default is 1. | 2 |
Remarks
Returns a boolean, true if equal values.
Examples
XIH.EqualsPrev(
"From"
)
XIH.EqualsPrev(
"From"
, 3)