Crystal Reports for Eclipse Designer Guide

Left end point excluded range (x _To y)

Usage
x  _To y
x _To y is used to specify a range of values greater than but not including the value x, and less than or equal to the value y. x and y can be of one of the types: Number, Boolean, Currency, Date, Time, DateTime, and String.
Examples
Dim BlackoutDates As Date Range
Rem Blackout period is Jan. 1, 1999 to March 31, 1999, inclusive
BlackoutDates = CDate(#12/31/1998#) _To CDate(#3/ 31/1999#)
If CurrentDate In BlackoutDates Then
     formula = "Blackout"
Else
     formula = "Free to trade"
End If
If today's date is Dec. 31, 1998, then "Free to trade" is returned since it is before the Blackout period.
If today's date is Jan. 1, 1999, then "Blackout" is returned since it is within the Blackout period.
If today's date is March 31, 1999, then "Blackout" is returned since it is within the Blackout period.
If today's date is Oct. 30, 1999, then "Free to trade" is returned since it is after the Blackout period.



SAP BusinessObjects
http://www.sap.com/sapbusinessobjects/
Support services
http://service.sap.com/bosap-support/
Product Documentation on the Web
http://help.sap.com/