I'm using `MultiSelectionHelper, my code is this :
MyView currentRecord;
MultiSelectionHelper helper = MultiSelectionHelper::construct();
helper.parmDatasource(MyView_ds);
currentRecord = _helper.getFirst();
while (currentRecord)
{
// to do action
currentRecord= helper.getNext();
}
But the problem in while loop not stop when see in Debug currentRecord.RecId = 0 , map = Common
The cycle don't stop, and continue without record!
_helperandhelper. Is this a typo or a bug? - Alex KwitnyMultiSelectionHelperdoes record caching. You can try moving your code to/from the client or server and/or restarting your AOS and clearing your user caches. - Alex Kwitnywhile(currentRecord.RecId). - ulisses