getdateto Method
Class: daterange
Expand/Collapse source code of procedure getdateto Source Code
IF EMPTY(this.txtDateTo.Value)
  *-- If the To date is empty, return a value in the distant future
  RETURN date() + 100000
ELSE
  RETURN this.txtDateTo.Value
ENDIF