Показать сообщение отдельно
Старый 17.08.2004, 11:07   #6  
George Nordic is offline
George Nordic
Модератор
Аватар для George Nordic
Злыдни
 
4,479 / 1250 (50) ++++++++
Регистрация: 17.12.2003
Адрес: Moscow
Записей в блоге: 9
в executeSection() Body Report'a я перекрываю метод и вытаскиваю все необходимые мне поля:
PHP код:
public void executeSection()
{
    
QueryBuildDataSource    qbds = new QueryBuildDataSource();
    
QueryBuildRange         qbr = new QueryBuildRange();
    
int                     range;
    
int                     ranges 0;
    
int                     links;
    
int                     elements;
    
FieldId                 fieldId;
    
DictTable               tableDescr;
    
DictField               fieldDescr;
    ;
    
qbds outputSelection.query().dataSourceNo(1);
    if (
qbds.enabled())
        
ranges qbds.rangeCount();

    
//info(strfmt("Ranges: %1; Links: %2", qbds.rangeCount(), qbds.linkCount()));

    
for (range 1range <= rangesrange++)
    {
        
qbr qbds.range(range);
        
tableDescr = new DictTable(tableIdentificator);
        
fieldId tableDescr.fieldName2Id(qbr.name());
        
fieldDescr = new DictField(tableIdentificatorfieldId);
        
//info(strfmt("Range: %1; %2 %3 %4", range, qbr.label(), qbr.name(), fieldDescr.label()));// qbr.AOTToString() ));
        
this.addControl(tableIdentificator,fieldId);
    }

    
super();

Удачи!
Георгий