Page History
...
In this example, a list is being processed and a total salary prepared for the selected items.
SELECTLIST is needed here to ensure the field values are returned as the items are processed.
...
SelectList Named(#List) Continue (*Not #List.Currentitem.Selected) #Total += #Salary
...
Endselect
In this example, the selection state is reversed.
FOR can be used here as no access to the field values is required.
...
For Each(#Item) In(#List.Items) #Item.Selected := *not #Item.Selected
...
Endfor