GetRatingGauge function

Syntax

GetRatingGauge(RecordName.FieldName)

Description

Use the GetRatingGauge function to get a reference to a RatingGaugeChart object.

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

Parameters

Parameter Description

RecordName.FieldName

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

Note: For a rating gauge, the field must be either Numeric or Float.

Returns

A reference to a RatingGaugeChart object.

Example

&oRating = GetRatingGauge(QE_TRNMNT_SCR.CJY_RND_SCR);