SystemConstant.SelectById(ID, Query).co_notes

Gets and sets the co_notes field in a system constant.

Applies To

Description

Gets and sets the co_notes field in a system constant.

Properties and Methods

None

Available

The .co_notes 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

String

Syntax

SystemConstant.SelectById(ID, Query).co_notes;

Parameters

None

Example

//--Get the system constant

let loConstant = SystemConstant.SelectByID(5, Query);

//--set the notes field value

loConstant.co_notes = 'This is a note for my system constant. It will overwrite what is already there.';

//--Save the constant

loConstant.Save();

//--get the co_notes value

let lcNotes = loConstant.co_notes;

Event.Form.MessageBox(`The co_notes text is:\n${lcNotes}`);

 

/*

Expected prompt result is:

The co_notes text is:

This is a note for my system constant. It will overwrite what is already there.

*/