Specifications

CHAPTER 24 DataWindow Expression and InfoMaker Functions
Users Guide 691
Usage When you use IsSelected in bands other than the detail band, it reports on a row
in the detail band. See
GetRow for a table specifying which row is associated
with each band for reporting purposes.
Examples This expression for a computed field in the detail area displays a bitmap if the
row is selected:
Bitmap(If(IsSelected(), "beach.bmp", ""))
This example allows the report to display a salary total for all the selected rows.
The expression for a computed field in the detail band returns the salary only
when the row is selected so that another computed field in the summary band
can add up all the selected salaries.
The expression for cf_selected_salary (the computed field in the detail band)
is:
If(IsSelected(), salary, 0)
The expression for the computed field in the summary band is:
Sum(cf_selected_salary for all)
See also
GetRow
IsTime
Description Reports whether the value of a string is a valid time value.
Syntax IsTime ( timevalue )
Return value
Boolean. Returns true if timevalue is a valid time and false if it is not.
Examples This expression returns true:
IsTime("8:00:00 am")
This expression returns false:
IsTime("25:00")
To pass this validation rule, the value in start_time must be a time:
IsTime(start_time)
Argument Description
timevalue A string whose value you want to test to determine whether it is a
valid time