| 
			
			 | 
		#1 | 
| 
			
			 Участник 
		
			
	 | 
	
	
	
		
		
			
			 
			
			Собственно сабж...Требуется хранить в структуре Map временные таблицы. Просто так ее туда не положить, однако обходной путь вроде бы нашелся. Создал класс обертку 
		
		
		
		
		
		
		
	X++: class TmpTable4CollectionStruct { Common common; } void new(Common _common) { ; //common.setTmp(); common = _common; } Common getCommon() { ; return common; } X++: static void Test(Args _args) { LedgerTable ledgerTable; LedgerTable tmpLedgerTable; LedgerTable tmpLedgerTableFromMap; Map map = new Map(Types::Integer, Types::Class); TmpTable4CollectionStruct struct, struct2; int i; ; tmpLedgerTable.setTmp(); while select ledgerTable order by AccountNum { buf2buf(ledgerTable, tmpLedgerTable); tmpLedgerTable.insert(); i++; if (i > 10) break; } info("Tmp"); while select tmpLedgerTable info(strfmt("%1 -> %2", tmpLedgerTable.AccountNum, tmpLedgerTable.AccountName)); struct = new TmpTable4CollectionStruct(tmpLedgerTable); map.insert(1, struct); struct2 = map.lookup(1); // tmpLedgerTableFromMap.setTmp(); tmpLedgerTableFromMap = struct2.getCommon(); info("FromMap"); while select tmpLedgerTableFromMap info(strfmt("%1 -> %2", tmpLedgerTableFromMap.AccountNum, tmpLedgerTableFromMap.AccountName)); } p.s. DAX 4  | 
| 
	
 | 
| Теги | 
| map, временная таблица, клиент-сервер | 
| 
	
	 | 
	
		
  |