page1 mainReportPage reportHeader TextItem1 reportHeader $S{ if ((getField("caption.zc1") + getField("caption.zc0"))>=0) THIS.setItemWidth((getField("caption.zc1") + getField("caption.zc0") ) * 8 + 47);'с $V{from_date} по $V{to_date}'} mainReportPage PageFooter tiPage PageFooter $V{#PAGE} из $V{#PAGE_COUNT} mainReportPage mainDataBand HorizontalLayout67 TextItem66 HorizontalLayout67 $S{ getField("main.fio");} TextItem67 HorizontalLayout67 $S{ getField("main.total");} TextItem62 HorizontalLayout67 $S{ if (getField("caption.zc1")<1) THIS.isVisible = false; var da = getField("main.c1"); da;} TextItem41 HorizontalLayout67 $S{ if (getField("caption.zc1")<2) THIS.isVisible = false; var da = getField("main.c2"); da;} TextItem43 HorizontalLayout67 $S{ if (getField("caption.zc1")<3) THIS.isVisible = false; var da = getField("main.c3"); da;} TextItem54 HorizontalLayout67 $S{ if (getField("caption.zc1")<4) THIS.isVisible = false; var da = getField("main.c4"); da;} TextItem40 HorizontalLayout67 $S{ if (getField("caption.zc1")<5) THIS.isVisible = false; var da = getField("main.c5"); da;} TextItem38 HorizontalLayout67 $S{ if (getField("caption.zc1")<6) THIS.isVisible = false; var da = getField("main.c6"); da;} TextItem37 HorizontalLayout67 $S{ if (getField("caption.zc1")<7) THIS.isVisible = false; var da = getField("main.c7"); da;} TextItem58 HorizontalLayout67 $S{ if (getField("caption.zc1")<8) THIS.isVisible = false; var da = getField("main.c8"); da;} TextItem57 HorizontalLayout67 $S{ if (getField("caption.zc1")<9) THIS.isVisible = false; var da = getField("main.c9"); da;} TextItem64 HorizontalLayout67 $S{ if (getField("caption.zc1")<10) THIS.isVisible = false; var da = getField("main.c10"); da;} TextItem3 HorizontalLayout67 $S{ if (getField("caption.zc1")<11) THIS.isVisible = false; var da = getField("main.c11"); da;} TextItem44 HorizontalLayout67 $S{ if (getField("caption.zc1")<12) THIS.isVisible = false; var da = getField("main.c12"); da;} TextItem45 HorizontalLayout67 $S{ if (getField("caption.zc1")<13) THIS.isVisible = false; var da = getField("main.c13"); da;} TextItem51 HorizontalLayout67 $S{ if (getField("caption.zc1")<14) THIS.isVisible = false; var da = getField("main.c14"); da;} TextItem39 HorizontalLayout67 $S{ if (getField("caption.zc1")<15) THIS.isVisible = false; var da = getField("main.c15"); da;} TextItem55 HorizontalLayout67 $S{ if (getField("caption.zc1")<16) THIS.isVisible = false; var da = getField("main.c16"); da;} TextItem60 HorizontalLayout67 $S{ if (getField("caption.zc1")<17) THIS.isVisible = false; var da = getField("main.c17"); da;} TextItem59 HorizontalLayout67 $S{ if (getField("caption.zc1")<18) THIS.isVisible = false; var da = getField("main.c18"); da;} TextItem47 HorizontalLayout67 $S{ if (getField("caption.zc1")<19) THIS.isVisible = false; var da = getField("main.c19"); da;} TextItem48 HorizontalLayout67 $S{ if (getField("caption.zc1")<20) THIS.isVisible = false; var da = getField("main.c20"); da;} TextItem65 HorizontalLayout67 $S{ if (getField("caption.zc1")<21) THIS.isVisible = false; var da = getField("main.c21"); da;} TextItem61 HorizontalLayout67 $S{ if (getField("caption.zc1")<22) THIS.isVisible = false; var da = getField("main.c22"); da;} TextItem52 HorizontalLayout67 $S{ if (getField("caption.zc1")<23) THIS.isVisible = false; var da = getField("main.c23"); da;} TextItem53 HorizontalLayout67 $S{ if (getField("caption.zc0")<1) THIS.isVisible = false; var da = getField("main.c24"); da;} TextItem50 HorizontalLayout67 $S{ if (getField("caption.zc0")<2) THIS.isVisible = false; var da = getField("main.c25"); da;} TextItem46 HorizontalLayout67 $S{ if (getField("caption.zc0")<3) THIS.isVisible = false; var da = getField("main.c26"); da;} TextItem63 HorizontalLayout67 $S{ if (getField("caption.zc0")<4) THIS.isVisible = false; var da = getField("main.c27"); da;} TextItem56 HorizontalLayout67 $S{ if (getField("caption.zc0")<5) THIS.isVisible = false; var da = getField("main.c28"); da;} TextItem42 HorizontalLayout67 $S{ if (getField("caption.zc0")<6) THIS.isVisible = false; var da = getField("main.c29"); da;} TextItem49 HorizontalLayout67 $S{ if (getField("caption.zc0")<7) THIS.isVisible = false; var da = getField("main.c30"); da;} mainDataBand mainReportPage main PageHeader HorizontalLayout10 TextItem2 HorizontalLayout10 TextItem4 HorizontalLayout10 всего VerticalLayout9 HorizontalLayout9 TextItem35 HorizontalLayout9 $S{ if (getField("caption.zc1")>=0) THIS.setItemWidth(getField("caption.zc1") * 8);'Группа А'} TextItem36 HorizontalLayout9 $S{ if (getField("caption.zc0")>=0) THIS.setItemWidth(getField("caption.zc0") * 8);'Группа Б'} VerticalLayout9 HorizontalLayout6 TextItem5 HorizontalLayout6 $S{ if (getField("caption.zc1")<1) THIS.isVisible = false; var da = getField("caption.c1"); da;} TextItem6 HorizontalLayout6 $S{ if (getField("caption.zc1")<2) THIS.isVisible = false; var da = getField("caption.c2"); da;} TextItem7 HorizontalLayout6 $S{ if (getField("caption.zc1")<3) THIS.isVisible = false; var da = getField("caption.c3"); da;} TextItem8 HorizontalLayout6 $S{ if (getField("caption.zc1")<4) THIS.isVisible = false; var da = getField("caption.c4"); da;} TextItem9 HorizontalLayout6 $S{ if (getField("caption.zc1")<5) THIS.isVisible = false; var da = getField("caption.c5"); da;} TextItem10 HorizontalLayout6 $S{ if (getField("caption.zc1")<6) THIS.isVisible = false; var da = getField("caption.c6"); da;} TextItem11 HorizontalLayout6 $S{ if (getField("caption.zc1")<7) THIS.isVisible = false; var da = getField("caption.c7"); da;} TextItem12 HorizontalLayout6 $S{ if (getField("caption.zc1")<8) THIS.isVisible = false; var da = getField("caption.c8"); da;} TextItem13 HorizontalLayout6 $S{ if (getField("caption.zc1")<9) THIS.isVisible = false; var da = getField("caption.c9"); da;} TextItem14 HorizontalLayout6 $S{ if (getField("caption.zc1")<10) THIS.isVisible = false; var da = getField("caption.c10"); da;} TextItem15 HorizontalLayout6 $S{ if (getField("caption.zc1")<11) THIS.isVisible = false; var da = getField("caption.c11"); da;} TextItem16 HorizontalLayout6 $S{ if (getField("caption.zc1")<12) THIS.isVisible = false; var da = getField("caption.c12"); da;} TextItem17 HorizontalLayout6 $S{ if (getField("caption.zc1")<13) THIS.isVisible = false; var da = getField("caption.c13"); da;} TextItem18 HorizontalLayout6 $S{ if (getField("caption.zc1")<14) THIS.isVisible = false; var da = getField("caption.c14"); da;} TextItem19 HorizontalLayout6 $S{ if (getField("caption.zc1")<15) THIS.isVisible = false; var da = getField("caption.c15"); da;} TextItem20 HorizontalLayout6 $S{ if (getField("caption.zc1")<16) THIS.isVisible = false; var da = getField("caption.c16"); da;} TextItem21 HorizontalLayout6 $S{ if (getField("caption.zc1")<17) THIS.isVisible = false; var da = getField("caption.c17"); da;} TextItem22 HorizontalLayout6 $S{ if (getField("caption.zc1")<18) THIS.isVisible = false; var da = getField("caption.c18"); da;} TextItem23 HorizontalLayout6 $S{ if (getField("caption.zc1")<19) THIS.isVisible = false; var da = getField("caption.c19"); da;} TextItem24 HorizontalLayout6 $S{ if (getField("caption.zc1")<20) THIS.isVisible = false; var da = getField("caption.c20"); da;} TextItem25 HorizontalLayout6 $S{ if (getField("caption.zc1")<21) THIS.isVisible = false; var da = getField("caption.c21"); da;} TextItem26 HorizontalLayout6 $S{ if (getField("caption.zc1")<22) THIS.isVisible = false; var da = getField("caption.c22"); da;} TextItem27 HorizontalLayout6 $S{ if (getField("caption.zc1")<23) THIS.isVisible = false; var da = getField("caption.c23"); da;} TextItem28 HorizontalLayout6 $S{ if (getField("caption.zc0")<1) THIS.isVisible = false; var da = getField("caption.c24"); da;} TextItem29 HorizontalLayout6 $S{ if (getField("caption.zc0")<2) THIS.isVisible = false; var da = getField("caption.c25"); da;} TextItem30 HorizontalLayout6 $S{ if (getField("caption.zc0")<3) THIS.isVisible = false; var da = getField("caption.c26"); da;} TextItem31 HorizontalLayout6 $S{ if (getField("caption.zc0")<4) THIS.isVisible = false; var da = getField("caption.c27"); da;} TextItem32 HorizontalLayout6 $S{ if (getField("caption.zc0")<5) THIS.isVisible = false; var da = getField("caption.c28"); da;} TextItem33 HorizontalLayout6 $S{ if (getField("caption.zc0")<6) THIS.isVisible = false; var da = getField("caption.c29"); da;} TextItem34 HorizontalLayout6 $S{ if (getField("caption.zc0")<7) THIS.isVisible = false; var da = getField("caption.c30"); da;} VerticalLayout9 HorizontalLayout10 PageHeader mainReportPage datasources