|  13.12.2005, 10:07 | #1 | 
| Участник |   
			
			Подскажите пожайлуста пример получения суммы в отчете на каждой странице этого отчета (соответственно по строкам на каждой странице)... | 
|  | 
|  13.12.2005, 11:15 | #2 | 
| Участник |   
			
			Посмотрите CustVendFacture_RU Секцию TransBody метод executeSection  <div class='XPPtop'>X++</div><div class='XPP'> [color=:blue]if[/color] (lineCount < numOfLines) { checkHeight = any2int(sectionTransBody.heightValue() + sectionTransPageFooter.heightValue()); lineCount ++; } [color=:blue]else[/color] { checkHeight = any2int(sectionTransBody.heightValue() + sectionTransPageFooter.heightValue() + sectionTransFooter.heightValue() + sectionEnd.heightValue()); } [color=:blue]if[/color]((pageHeight - element.currentYmm100()/100) < checkHeight) { moreThenOnePage = [color=:blue]true[/color]; element.execute(4); element.newPage(); printHeader = [color=:blue]true[/color]; }</div> Этот кусок кода как раз и отвечает за подведение итогов по странице и печать шапки на новой странице. | 
|  |