AppRecordList FindRecord() Method

Find a specific record in the current list by matching its name or TS_ID.

Function Signature

 AppRecord FindRecord( Variant recordIdOrName )

Parameters

Parameter Type Description

recordIdOrName

Variant

If this parameter is a non-numeric string, it is taken as the desired record's name. Otherwise, it is converted to an integer and taken as the desired record's TS_ID.

Return

Type Description

AppRecord

The first AppRecord in the list that matches the given name or ID. If there is no match, returns null. Use is_var_null() to check for null.

Technical Details

SBM ModScript version: 11.3.

Notes

None.

Related Topics

AppRecordList