Checks if a value in the specified column is identical with the value in the next row of the same column and returns a boolean. The offset may optionally be specified if greater than 1.

Syntax

XIH.EqualsNext(colcaption)

XIH.EqualsNext(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.EqualsNext("From")
XIH.EqualsNext("From", 2)