| 
	 | 
| 
			
			 | 
		#1 | 
| 
			
			 Участник 
		
			
	 | 
	
	
	
		
		
		
		 Цитата: 
	
		
			Сообщение от kashperuk
			
			 
Как-то можно присобачить RecordSortedList, чтобы хранить записи, с возможностью их последующего обновления? 
		
	делаю вот-так: Код:     ttsbegin;
    loop = _recSortedList.first(table1);
    while (loop)
    {
        table1.selectForUpdate(true);
        table1.FieldCheckBox = NoYes::Yes;
        table1.update();
        loop = _recSortedList.next(table1);
    }
    ttscommit;Как сие починить? Код:     ttsbegin;
    loop = _recSortedList.first(table1);
    while (loop)
    {
        table1.selectForUpdate(true);
        table1.reread();
        table1.FieldCheckBox = NoYes::Yes;
        table1.update();
        loop = _recSortedList.next(table1);
    }
    ttscommit;
				__________________ 
		
		
		
		
	Функциональное тестирование сайтов  | 
| 
	
 | 
| 
			
			 | 
		#2 | 
| 
			
			 Участник 
		
			
	 | 
	
	
	
		
		
			
			 Цитата: 
	
		
			Сообщение от Red Stranger
			
			 
Если я правильно понял Вашу проблему, то 
		
	Код:     ttsbegin;
    loop = _recSortedList.first(table1);
    while (loop)
    {
        table1.selectForUpdate(true);
        table1.reread();
        table1.FieldCheckBox = NoYes::Yes;
        table1.update();
        loop = _recSortedList.next(table1);
    }
    ttscommit;Ну, уже не суть важно Забил, и сделал через Set - правда теперь приходится искать запись перед обновлением - по RecId, индекс по RecId есть, так что довольно быстро. Всем спасибо  | 
| 
	
 |