> >FOR lnCount = 1 TO loSelected.LISTCOUNT > > lnItem = loSelected.INDEXTOITEMID(lnCount) > > lcSelectedFields = lcSelectedFields + ; > IIF(EMPTY(lcSelectedFields), '', ',') + loSelected.LISTITEM(lnItem) > >ENDFOR >Thanks, Marat. I found that List property maintains the correct order of items (ListItem does not). And also I figured out why my changes were not saved for the second list. The reason is that I don't store order for the items in the database and therefore I always select items sorted by description.