SystemConstant.SelectById(ID, Query).co_active
Gets and sets the co_active field on the system constant.
Applies To
Description
Gets and sets the co_active field on the system constant. If you are setting this field it is a Boolean field and can only use the values true and false. These are not capitalized or in quotes.
Properties and Methods
None
Available
The .co_active property is available in:
- 15.03.090
- 15.04.059
- 15.05.034
- 16.00.039
- 16.01.011
- 16.02.004
- 16.03.001
- All newer builds
Type
Boolean
Syntax
SystemConstant.SelectById(ID, Query).co_active;
Parameters
None
Example
//--get the constant
let loConstant = SystemConstant.SelectByID(5, Query);
//--read the co_active field
let llActive = loConstant.co_active;
//--set the active flag to the opposite of what it was
loConstant.co_active = !llActive;
//--save the constant
loConstant.Save();