Fired when a user selects a date in the date field or types in a new date.

Parameters

ParameterDescription
ControlThe key of the date field control
NewValueThe date field control's new value

Remarks

The OnDateFieldChange event fires when the user enters a new date into a date field control. The first parameter is the unique ID of the date field control, and the second parameter contains the control's new value, which will be in OI's internal date format.

Example

Begin Case
   Case Event EQ "OnDateFieldChange"
       ControlKey = Param1
       NewValue = Param2
       Begin Case
           Case ControlKey EQ "DTF_STARTDATE"
               GoSub UpdateFilter
           Case ControlKey EQ "DTF_ENDDATE"
               GoSub UpdateFilter
       End Case
End Case
  • No labels