AppRecord IsFieldEqual() Method

Tests for equivalence between the specified field and a value formatted as a string.

Function Signature

 bool IsFieldEqual( fieldNameOrId, value )

Parameters

Parameter Type Description

fieldNameOrId

string

integer

If a non-numeric string, the name of the field to be tested. Otherwise, it is converted to a number and taken as the TS_ID of the field to be tested.

value

string

The value to be compared to. The field's value will be formatted as a string and compared to this value.

Return

Type Description

bool

Returns true if the field is found and is equal; false otherwise.

Technical Details

SBM ModScript version: 11.3.

Example

Notes

None.

Related Topics

AppRecord