Sage-ST ä

Objcalendar

Documentation

GetDateRange GetSingleDate




  PROCEDURE GetSingleDate
             (VAR   date    : ARRAY OF CHAR;
              VAR   Success : BOOLEAN);

  (**
      GetSingleDate - Get a single date from the calendar object.


      This procedure is an easy way to use a calendar object to get a
      single date from the user.  When this routine is called a calendar
      window opens and the user can select a date.   The selected date
      will be returned in the Date variable.

      CALLING SEQUENCE -

        GetSingleDate (Date, Success)

      ENTRY -

      EXIT -

        Date : ARRAY OF CHAR
          If a date is passed in the calendar will start at this date.
           When the routine returns this will be the date that the user
           has selected or the same date if the user did not select.
           NOTE - coming in or out this date should be in Date0 format.

        Success : BOOLEAN
          TRUE - a date was selected.
          FALSE - the user did not select a date.
  *)




  PROCEDURE GetDateRange
             (VAR   RangeStart : ARRAY OF CHAR;
              VAR   RangeEnd   : ARRAY OF CHAR;
              VAR   Success    : BOOLEAN);

  (**
      GetDateRange - Get a range of dates from the calendar object.


      This procedure is an easy way to use a calendar object to get a
      range of dates from the user.  When this routine is called a calendar
      window opens and the user can select the range.   The selected dates
      will be returned in the RangeStart and RangeEnd variables.

      CALLING SEQUENCE -

        GetDateRange (RangeStart, RangeEnd, Success)

      ENTRY -

      EXIT -

        RangeStart : ARRAY OF CHAR
          If a date is passed in the calendar will start at this date.
          When the routine returns this will be the range start date that
          the user has selected or the same date if the user did not select.
          NOTE - coming in or out this date should be in Date0 format.

        RangeEnd : ARRAY OF CHAR
          The date that the user has selected to end the range.
          NOTE - coming in or out this date should be in Date0 format.

        Success : BOOLEAN
          TRUE - a range was selected.
          FALSE - the user did not select a range.
  *)




Send mail to   warren.merrill@inl.gov with questions or comments about this web site.
Copyright © 1989-2006 Battelle Energy Alliance