Показать сообщение отдельно
Старый 23.10.2003, 10:24   #2  
raz is offline
raz
NavAx
Аватар для raz
NavAx Club
Лучший по профессии 2014
Лучший по профессии 2009
 
1,495 / 1070 (38) ++++++++
Регистрация: 22.07.2003
Адрес: МО
можно попробовать так
PHP код:


static void test(common _Source)
{
    
SalesTable              SalesTable;
    
SalesLine               SalesLine;
    
PurchTable              PurchTable;
    
PurchLine               PurchLine;
    ;
        switch (
_Source.TableId)
        {
            case 
tablename2id("SalesTable") :
                 
select SalesTable where SalesTable.RecId == _Source.RecId;
....