Page History
...
Using CurrentItem to set the image for the last item added to a list.
Add_Entry To_List(#List)
#List.CurrentItem.Image <= #Image1
Using CurrentItem in a SELECTLIST loop to check item state. Here the selected items in the list are being totalled.
SelectList Named(#List)
Continue (*Not #Item.Selected)
#TotalSalary += #Salary
EndSelect
Using the FOR command iterates over the items in their sorted sequence, but CurrentItem will not be set.
Use GET_ENTRY to set the CurrentItem to ensure field values are returned to the component.
For Each(#Item) in(#List.Items)
Get_Entry Number(#Item.Entry) From_List(#List)
* User processing here
EndFor