GaugeGetDateRange method (WinStudio scripts)

Applies To

IWSFormComponent interface

Definition

Gets the current date range (All Dates, YTD, PTD, etc) of the gauge for a Critical Number-bound gauge that is bound to a date driven number.

Syntax

object.GaugeGetDateRange

Part Description
object Required. A reference to a valid gauge component object.

Remarks

The return value is a string representing a date range over which the critical number is calculated.  Date ranges are supported on IDO based critical numbers that have a date property filled in.

Example

Sub Main()
    Application.ShowMessage(ThisForm.Components("gauge1").GaugeGetDateRange)
End Sub