Читаю хелп про функцию Count:
__________________________________
This example shows how to use the COUNT function. The statement:
Number := Customer.COUNT;
assigns the number of records in the Customer table to the Number variable. This statement is the same as
Number := 0;
IF Customer.FIND('-') THEN
REPEAT
Number := Number + 1;
UNTIL Customer.NEXT = 0;
except the first example is much faster since only one command to the Database Management System (DBMS) is needed. The second example sends several commands to the DBMS.
_______________________________________
сделал по аналогии. объявил переменную SumQuantityDays
и в "Employee Qualification".OnPreDataItem внес:
SumQuantityDays:=0;
IF FIND('-') THEN
REPEAT
SumQuantityDays+="Quantity Days Sick-List";
UNTIL NEXT=0;
все работает. думаю, знатоки через все это уже прошли

чего ж не подсказали
_________________________________________
обращает на себя внимание только фрагмент:
"except the first example is much faster since only one command to the Database Management System (DBMS) is needed. The second example sends several commands to the DBMS"
неужели в этом самом DBMS нет функции по суммированию?
где бы почитать по DBMS????
___________________________________________
всем спасибо. особенно Dzemon'у!!!!!!!!!!!!!!!!!!