GetDialGauge

Mon 01 January 2018

Syntax

GetDialGauge(RecordName.FieldName)

Description

Use the GetDialGauge function to get a reference to a DialGauge 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 dial gauge.

Returns

A reference to a DialGauge object.

Example

&MyGauge = GetDialGauge(GAUGEREC_WRK.GAUGE_FLD);