GetLEDGauge

Mon 01 January 2018

Syntax

GetLEDGauge(RecordName.FieldName)

Description

Use the GetLEDGauge function to get a reference to an LEDGauge object.

A gauge must be associated with a record and field merely so that the gauge object can be instantiated in PeopleCode. Which record and field you use doesn't matter. Commonly, the same derived/work record is used for all the charts in an application.

Parameters

Field or Control

Definition

RecordName . FieldName

Specify the record and field name associated with the LED gauge.

Returns

A reference to an LEDGauge object.

Example

&MyGauge = GetLEDGauge(GAUGEREC_WRK.GAUGE_FLD);