SBM ModScript Reference → Programming SBM ModScript → Object Types → VarFieldList → VarRecord FindField() Method
Finds the first field on the list that matches the given name or TS_ID.
Parameter | Type | Description |
---|---|---|
fldNameOrId |
Variant |
If a non-numeric string, the name of the field to be looked up. If all uppercase, it is taken as the field's database name. Otherwise, it is taken as the display name. The search is not case sensitive; case is only used to determine whether to search by database name or display name. Note that the database name cannot be changed, but the logical name can be changed. If not a non-numeric string, it is converted to an int and taken as the desired field's TS_ID. |
Type | Description |
---|---|
Field object |
The first Field on the list to match the given name or ID. If no Field objects matched, it returns null. Check for null using is_var_null(). |
SBM ModScript version: 11.3.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.