Field Select() Method

Sets or clears a field's select flag to control processing during the next Update().

Function Signature

 void Select( selectFlag )

Parameters

Parameter Type Description

selectFlag

bool

If true, the field will be processed during the next Update(). If false, it will be skipped unless overridden by the VarFieldList method SelectAll().

Return

Type Description

None

Technical Details

SBM ModScript version: 11.3.

Notes

When an item is updated in the database, all of its selected fields are checked for changes. Only fields that have changed are updated in the database. Since checking all fields can be an expensive operation, you can deselect some fields if you know they have not changed. Note that you can override the select flag using the VarFieldList method SelectAll().

Related Topics

Field