Skip to main content
Version: 7.0

Selection (SELECT)

The selection operators create properties that report the user's row selection in an object group:

  • the property of an object collection returns TRUE if that collection is currently selected (checked) by the user in the group, and NULL otherwise;
  • the property of the group as a whole returns TRUE if multiple-row selection is currently active for the group, and NULL otherwise.

Language

To declare these properties, use the SELECT and SELECT ACTIVE operators.

Examples

CLASS Store;
name = DATA STRING[100] (Store);

FORM stores
OBJECTS s = Store
PROPERTIES(s) name
;
selectedCount 'Number of selected stores' () = GROUP SUM 1 IF [ SELECT stores.s](Store s);
multiSelectActive 'Multiple-row selection is on' () = [ SELECT ACTIVE stores.s]();