SET-TIME-RANGE Action

This document covers the following topics:


Description

Sets the upper and/or lower date/time limit for a date and time picker control.

Parameters

Name/Data Type Explanation
HANDLE OF

DATETIMEPICKER

Input

Handle of date and time picker control to which the date and/or time range is to be applied.

Lower (T) Lower (T) Input

Lower date/time limit. If omitted, no lower limit will be explicitly set.

Upper (T) Input

Upper date/time limit. If omitted, no upper limit will be explicitly set.

Response (I4) Output

Natural error (if applicable).

Example:

 
/* Set upper limit to today
PROCESS GUI ACTION SET-TIME-RANGE WITH
  #DTP-1 1X *DATX GIVING *ERROR