GaugeSetAsOfDate method (WinStudio scripts)

Applies To

IWSFormComponent interface

Definition

Sets the AsOfDate for a critical number bound gauge.

Syntax

object.GaugeSetAsOfDate(string)

Part Description
object Required. A reference to a valid gauge component object.
string Required. A string representing a date value by which the critical number should be calculated.

Example

Sub Main()
    ThisForm.Components("gauge1").GaugeSetAsOfDate(ThisForm.Variables("AsOfDate").Value)
End Sub