root/trunk/RaportySQL/KosztyPrzychodyBiura.rdl @ 185

Wersja 130, 60.3 KB (wprowadzona przez marek, 17 years temu)
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
3  <DataSources>
4    <DataSource Name="BAZA_REKLAM">
5      <DataSourceReference>BAZA_REKLAM</DataSourceReference>
6      <rd:DataSourceID>be2d74cf-31c3-40a1-a4cb-f0cbb97d2cc5</rd:DataSourceID>
7    </DataSource>
8  </DataSources>
9  <BottomMargin>2.5cm</BottomMargin>
10  <RightMargin>2.5cm</RightMargin>
11  <PageWidth>21cm</PageWidth>
12  <ReportParameters>
13    <ReportParameter Name="Agencja">
14      <DataType>String</DataType>
15      <DefaultValue>
16        <DataSetReference>
17          <DataSetName>ListaAgencji</DataSetName>
18          <ValueField>Symbol</ValueField>
19        </DataSetReference>
20      </DefaultValue>
21      <Prompt>Agencja</Prompt>
22      <ValidValues>
23        <DataSetReference>
24          <DataSetName>ListaAgencji</DataSetName>
25          <ValueField>Symbol</ValueField>
26          <LabelField>Symbol</LabelField>
27        </DataSetReference>
28      </ValidValues>
29      <MultiValue>true</MultiValue>
30    </ReportParameter>
31    <ReportParameter Name="rok">
32      <DataType>Integer</DataType>
33      <DefaultValue>
34        <Values>
35          <Value>=Year(Today)</Value>
36        </Values>
37      </DefaultValue>
38      <AllowBlank>true</AllowBlank>
39      <Prompt>rok</Prompt>
40      <ValidValues>
41        <DataSetReference>
42          <DataSetName>ListaLat</DataSetName>
43          <ValueField>rok</ValueField>
44          <LabelField>rok</LabelField>
45        </DataSetReference>
46      </ValidValues>
47    </ReportParameter>
48  </ReportParameters>
49  <rd:DrawGrid>true</rd:DrawGrid>
50  <InteractiveWidth>21cm</InteractiveWidth>
51  <rd:GridSpacing>0.25cm</rd:GridSpacing>
52  <rd:SnapToGrid>true</rd:SnapToGrid>
53  <Body>
54    <ColumnSpacing>1cm</ColumnSpacing>
55    <ReportItems>
56      <Table Name="table1">
57        <Filters>
58          <Filter>
59            <Operator>In</Operator>
60            <FilterValues>
61              <FilterValue>=Parameters!Agencja.Value</FilterValue>
62            </FilterValues>
63            <FilterExpression>=Fields!AGENCJA.Value</FilterExpression>
64          </Filter>
65        </Filters>
66        <DataSetName>KosztyPrzychody</DataSetName>
67        <Top>0.25cm</Top>
68        <TableGroups>
69          <TableGroup>
70            <Footer>
71              <TableRows>
72                <TableRow>
73                  <TableCells>
74                    <TableCell>
75                      <ReportItems>
76                        <Textbox Name="textbox10">
77                          <rd:DefaultName>textbox10</rd:DefaultName>
78                          <ZIndex>23</ZIndex>
79                          <Style>
80                            <PaddingLeft>2pt</PaddingLeft>
81                            <PaddingBottom>2pt</PaddingBottom>
82                            <PaddingRight>2pt</PaddingRight>
83                            <PaddingTop>2pt</PaddingTop>
84                          </Style>
85                          <CanGrow>true</CanGrow>
86                          <Value />
87                        </Textbox>
88                      </ReportItems>
89                    </TableCell>
90                    <TableCell>
91                      <ReportItems>
92                        <Textbox Name="textbox11">
93                          <rd:DefaultName>textbox11</rd:DefaultName>
94                          <ZIndex>22</ZIndex>
95                          <Style>
96                            <PaddingLeft>2pt</PaddingLeft>
97                            <PaddingBottom>2pt</PaddingBottom>
98                            <PaddingRight>2pt</PaddingRight>
99                            <PaddingTop>2pt</PaddingTop>
100                          </Style>
101                          <CanGrow>true</CanGrow>
102                          <Value />
103                        </Textbox>
104                      </ReportItems>
105                    </TableCell>
106                    <TableCell>
107                      <ReportItems>
108                        <Textbox Name="textbox12">
109                          <rd:DefaultName>textbox12</rd:DefaultName>
110                          <ZIndex>21</ZIndex>
111                          <Style>
112                            <PaddingLeft>2pt</PaddingLeft>
113                            <PaddingBottom>2pt</PaddingBottom>
114                            <PaddingRight>2pt</PaddingRight>
115                            <PaddingTop>2pt</PaddingTop>
116                          </Style>
117                          <CanGrow>true</CanGrow>
118                          <Value />
119                        </Textbox>
120                      </ReportItems>
121                    </TableCell>
122                    <TableCell>
123                      <ReportItems>
124                        <Textbox Name="textbox31">
125                          <rd:DefaultName>textbox31</rd:DefaultName>
126                          <ZIndex>20</ZIndex>
127                          <Style>
128                            <PaddingLeft>2pt</PaddingLeft>
129                            <PaddingBottom>2pt</PaddingBottom>
130                            <PaddingRight>2pt</PaddingRight>
131                            <PaddingTop>2pt</PaddingTop>
132                          </Style>
133                          <CanGrow>true</CanGrow>
134                          <Value />
135                        </Textbox>
136                      </ReportItems>
137                    </TableCell>
138                    <TableCell>
139                      <ReportItems>
140                        <Textbox Name="textbox36">
141                          <rd:DefaultName>textbox36</rd:DefaultName>
142                          <ZIndex>19</ZIndex>
143                          <Style>
144                            <PaddingLeft>2pt</PaddingLeft>
145                            <PaddingBottom>2pt</PaddingBottom>
146                            <PaddingRight>2pt</PaddingRight>
147                            <PaddingTop>2pt</PaddingTop>
148                          </Style>
149                          <CanGrow>true</CanGrow>
150                          <Value />
151                        </Textbox>
152                      </ReportItems>
153                    </TableCell>
154                    <TableCell>
155                      <ReportItems>
156                        <Textbox Name="textbox26">
157                          <rd:DefaultName>textbox26</rd:DefaultName>
158                          <ZIndex>18</ZIndex>
159                          <Style>
160                            <PaddingLeft>2pt</PaddingLeft>
161                            <PaddingBottom>2pt</PaddingBottom>
162                            <PaddingRight>2pt</PaddingRight>
163                            <PaddingTop>2pt</PaddingTop>
164                          </Style>
165                          <CanGrow>true</CanGrow>
166                          <Value />
167                        </Textbox>
168                      </ReportItems>
169                    </TableCell>
170                    <TableCell>
171                      <ReportItems>
172                        <Textbox Name="textbox21">
173                          <rd:DefaultName>textbox21</rd:DefaultName>
174                          <ZIndex>17</ZIndex>
175                          <Style>
176                            <PaddingLeft>2pt</PaddingLeft>
177                            <PaddingBottom>2pt</PaddingBottom>
178                            <PaddingRight>2pt</PaddingRight>
179                            <PaddingTop>2pt</PaddingTop>
180                          </Style>
181                          <CanGrow>true</CanGrow>
182                          <Value />
183                        </Textbox>
184                      </ReportItems>
185                    </TableCell>
186                    <TableCell>
187                      <ReportItems>
188                        <Textbox Name="textbox16">
189                          <rd:DefaultName>textbox16</rd:DefaultName>
190                          <ZIndex>16</ZIndex>
191                          <Style>
192                            <PaddingLeft>2pt</PaddingLeft>
193                            <PaddingBottom>2pt</PaddingBottom>
194                            <PaddingRight>2pt</PaddingRight>
195                            <PaddingTop>2pt</PaddingTop>
196                          </Style>
197                          <CanGrow>true</CanGrow>
198                          <Value />
199                        </Textbox>
200                      </ReportItems>
201                    </TableCell>
202                    <TableCell>
203                      <ReportItems>
204                        <Textbox Name="textbox41">
205                          <rd:DefaultName>textbox41</rd:DefaultName>
206                          <ZIndex>15</ZIndex>
207                          <Style>
208                            <PaddingLeft>2pt</PaddingLeft>
209                            <PaddingBottom>2pt</PaddingBottom>
210                            <PaddingRight>2pt</PaddingRight>
211                            <PaddingTop>2pt</PaddingTop>
212                          </Style>
213                          <CanGrow>true</CanGrow>
214                          <Value />
215                        </Textbox>
216                      </ReportItems>
217                    </TableCell>
218                    <TableCell>
219                      <ReportItems>
220                        <Textbox Name="textbox25">
221                          <rd:DefaultName>textbox25</rd:DefaultName>
222                          <ZIndex>14</ZIndex>
223                          <Style>
224                            <PaddingLeft>2pt</PaddingLeft>
225                            <PaddingBottom>2pt</PaddingBottom>
226                            <PaddingRight>2pt</PaddingRight>
227                            <PaddingTop>2pt</PaddingTop>
228                          </Style>
229                          <CanGrow>true</CanGrow>
230                          <Value />
231                        </Textbox>
232                      </ReportItems>
233                    </TableCell>
234                    <TableCell>
235                      <ReportItems>
236                        <Textbox Name="textbox49">
237                          <rd:DefaultName>textbox49</rd:DefaultName>
238                          <ZIndex>13</ZIndex>
239                          <Style>
240                            <PaddingLeft>2pt</PaddingLeft>
241                            <PaddingBottom>2pt</PaddingBottom>
242                            <PaddingRight>2pt</PaddingRight>
243                            <PaddingTop>2pt</PaddingTop>
244                          </Style>
245                          <CanGrow>true</CanGrow>
246                          <Value />
247                        </Textbox>
248                      </ReportItems>
249                    </TableCell>
250                    <TableCell>
251                      <ReportItems>
252                        <Textbox Name="textbox44">
253                          <rd:DefaultName>textbox44</rd:DefaultName>
254                          <ZIndex>12</ZIndex>
255                          <Style>
256                            <PaddingLeft>2pt</PaddingLeft>
257                            <PaddingBottom>2pt</PaddingBottom>
258                            <PaddingRight>2pt</PaddingRight>
259                            <PaddingTop>2pt</PaddingTop>
260                          </Style>
261                          <CanGrow>true</CanGrow>
262                          <Value />
263                        </Textbox>
264                      </ReportItems>
265                    </TableCell>
266                  </TableCells>
267                  <Height>0.25cm</Height>
268                </TableRow>
269              </TableRows>
270            </Footer>
271            <Header>
272              <TableRows>
273                <TableRow>
274                  <TableCells>
275                    <TableCell>
276                      <ReportItems>
277                        <Textbox Name="textbox4">
278                          <rd:DefaultName>textbox4</rd:DefaultName>
279                          <ZIndex>35</ZIndex>
280                          <Style>
281                            <PaddingLeft>2pt</PaddingLeft>
282                            <PaddingBottom>2pt</PaddingBottom>
283                            <FontSize>8pt</FontSize>
284                            <PaddingRight>2pt</PaddingRight>
285                            <PaddingTop>2pt</PaddingTop>
286                          </Style>
287                          <CanGrow>true</CanGrow>
288                          <Value />
289                        </Textbox>
290                      </ReportItems>
291                    </TableCell>
292                    <TableCell>
293                      <ReportItems>
294                        <Textbox Name="textbox5">
295                          <rd:DefaultName>textbox5</rd:DefaultName>
296                          <ZIndex>34</ZIndex>
297                          <Style>
298                            <PaddingLeft>2pt</PaddingLeft>
299                            <PaddingBottom>2pt</PaddingBottom>
300                            <FontSize>8pt</FontSize>
301                            <PaddingRight>2pt</PaddingRight>
302                            <PaddingTop>2pt</PaddingTop>
303                          </Style>
304                          <CanGrow>true</CanGrow>
305                          <Value />
306                        </Textbox>
307                      </ReportItems>
308                    </TableCell>
309                    <TableCell>
310                      <ReportItems>
311                        <Textbox Name="textbox6">
312                          <rd:DefaultName>textbox6</rd:DefaultName>
313                          <ZIndex>33</ZIndex>
314                          <Style>
315                            <PaddingLeft>2pt</PaddingLeft>
316                            <PaddingBottom>2pt</PaddingBottom>
317                            <FontSize>8pt</FontSize>
318                            <PaddingRight>2pt</PaddingRight>
319                            <PaddingTop>2pt</PaddingTop>
320                          </Style>
321                          <CanGrow>true</CanGrow>
322                          <Value />
323                        </Textbox>
324                      </ReportItems>
325                    </TableCell>
326                    <TableCell>
327                      <ReportItems>
328                        <Textbox Name="textbox29">
329                          <rd:DefaultName>textbox29</rd:DefaultName>
330                          <ZIndex>32</ZIndex>
331                          <Style>
332                            <PaddingLeft>2pt</PaddingLeft>
333                            <PaddingBottom>2pt</PaddingBottom>
334                            <FontSize>8pt</FontSize>
335                            <PaddingRight>2pt</PaddingRight>
336                            <PaddingTop>2pt</PaddingTop>
337                          </Style>
338                          <CanGrow>true</CanGrow>
339                          <Value />
340                        </Textbox>
341                      </ReportItems>
342                    </TableCell>
343                    <TableCell>
344                      <ReportItems>
345                        <Textbox Name="textbox34">
346                          <rd:DefaultName>textbox34</rd:DefaultName>
347                          <ZIndex>31</ZIndex>
348                          <Style>
349                            <PaddingLeft>2pt</PaddingLeft>
350                            <PaddingBottom>2pt</PaddingBottom>
351                            <FontSize>8pt</FontSize>
352                            <PaddingRight>2pt</PaddingRight>
353                            <PaddingTop>2pt</PaddingTop>
354                          </Style>
355                          <CanGrow>true</CanGrow>
356                          <Value />
357                        </Textbox>
358                      </ReportItems>
359                    </TableCell>
360                    <TableCell>
361                      <ReportItems>
362                        <Textbox Name="textbox24">
363                          <rd:DefaultName>textbox24</rd:DefaultName>
364                          <ZIndex>30</ZIndex>
365                          <Style>
366                            <PaddingLeft>2pt</PaddingLeft>
367                            <PaddingBottom>2pt</PaddingBottom>
368                            <FontSize>8pt</FontSize>
369                            <PaddingRight>2pt</PaddingRight>
370                            <PaddingTop>2pt</PaddingTop>
371                          </Style>
372                          <CanGrow>true</CanGrow>
373                          <Value />
374                        </Textbox>
375                      </ReportItems>
376                    </TableCell>
377                    <TableCell>
378                      <ReportItems>
379                        <Textbox Name="textbox19">
380                          <rd:DefaultName>textbox19</rd:DefaultName>
381                          <ZIndex>29</ZIndex>
382                          <Style>
383                            <PaddingLeft>2pt</PaddingLeft>
384                            <PaddingBottom>2pt</PaddingBottom>
385                            <FontSize>8pt</FontSize>
386                            <PaddingRight>2pt</PaddingRight>
387                            <PaddingTop>2pt</PaddingTop>
388                          </Style>
389                          <CanGrow>true</CanGrow>
390                          <Value />
391                        </Textbox>
392                      </ReportItems>
393                    </TableCell>
394                    <TableCell>
395                      <ReportItems>
396                        <Textbox Name="textbox14">
397                          <rd:DefaultName>textbox14</rd:DefaultName>
398                          <ZIndex>28</ZIndex>
399                          <Style>
400                            <PaddingLeft>2pt</PaddingLeft>
401                            <PaddingBottom>2pt</PaddingBottom>
402                            <FontSize>8pt</FontSize>
403                            <PaddingRight>2pt</PaddingRight>
404                            <PaddingTop>2pt</PaddingTop>
405                          </Style>
406                          <CanGrow>true</CanGrow>
407                          <Value />
408                        </Textbox>
409                      </ReportItems>
410                    </TableCell>
411                    <TableCell>
412                      <ReportItems>
413                        <Textbox Name="textbox39">
414                          <rd:DefaultName>textbox39</rd:DefaultName>
415                          <ZIndex>27</ZIndex>
416                          <Style>
417                            <PaddingLeft>2pt</PaddingLeft>
418                            <PaddingBottom>2pt</PaddingBottom>
419                            <FontSize>8pt</FontSize>
420                            <PaddingRight>2pt</PaddingRight>
421                            <PaddingTop>2pt</PaddingTop>
422                          </Style>
423                          <CanGrow>true</CanGrow>
424                          <Value />
425                        </Textbox>
426                      </ReportItems>
427                    </TableCell>
428                    <TableCell>
429                      <ReportItems>
430                        <Textbox Name="textbox20">
431                          <rd:DefaultName>textbox20</rd:DefaultName>
432                          <ZIndex>26</ZIndex>
433                          <Style>
434                            <TextAlign>Center</TextAlign>
435                            <PaddingLeft>2pt</PaddingLeft>
436                            <PaddingBottom>2pt</PaddingBottom>
437                            <FontSize>8pt</FontSize>
438                            <PaddingRight>2pt</PaddingRight>
439                            <PaddingTop>2pt</PaddingTop>
440                          </Style>
441                          <CanGrow>true</CanGrow>
442                          <Value />
443                        </Textbox>
444                      </ReportItems>
445                    </TableCell>
446                    <TableCell>
447                      <ReportItems>
448                        <Textbox Name="textbox47">
449                          <rd:DefaultName>textbox47</rd:DefaultName>
450                          <ZIndex>25</ZIndex>
451                          <Style>
452                            <PaddingLeft>2pt</PaddingLeft>
453                            <PaddingBottom>2pt</PaddingBottom>
454                            <FontSize>8pt</FontSize>
455                            <PaddingRight>2pt</PaddingRight>
456                            <PaddingTop>2pt</PaddingTop>
457                          </Style>
458                          <CanGrow>true</CanGrow>
459                          <Value />
460                        </Textbox>
461                      </ReportItems>
462                    </TableCell>
463                    <TableCell>
464                      <ReportItems>
465                        <Textbox Name="textbox40">
466                          <rd:DefaultName>textbox40</rd:DefaultName>
467                          <ZIndex>24</ZIndex>
468                          <Style>
469                            <PaddingLeft>2pt</PaddingLeft>
470                            <PaddingBottom>2pt</PaddingBottom>
471                            <FontSize>8pt</FontSize>
472                            <PaddingRight>2pt</PaddingRight>
473                            <PaddingTop>2pt</PaddingTop>
474                          </Style>
475                          <CanGrow>true</CanGrow>
476                          <Value />
477                        </Textbox>
478                      </ReportItems>
479                    </TableCell>
480                  </TableCells>
481                  <Height>0.25cm</Height>
482                </TableRow>
483              </TableRows>
484            </Header>
485            <Grouping Name="table1_Group1">
486              <GroupExpressions>
487                <GroupExpression>=Fields!AGENCJA.Value</GroupExpression>
488              </GroupExpressions>
489            </Grouping>
490          </TableGroup>
491        </TableGroups>
492        <Details>
493          <TableRows>
494            <TableRow>
495              <TableCells>
496                <TableCell>
497                  <ReportItems>
498                    <Textbox Name="rok">
499                      <rd:DefaultName>rok</rd:DefaultName>
500                      <ZIndex>11</ZIndex>
501                      <Style>
502                        <BorderStyle>
503                          <Default>Solid</Default>
504                        </BorderStyle>
505                        <TextAlign>Center</TextAlign>
506                        <PaddingLeft>2pt</PaddingLeft>
507                        <BorderWidth>
508                          <Default>0.5pt</Default>
509                        </BorderWidth>
510                        <PaddingBottom>2pt</PaddingBottom>
511                        <FontSize>8pt</FontSize>
512                        <BorderColor>
513                          <Default>LightGrey</Default>
514                        </BorderColor>
515                        <PaddingRight>2pt</PaddingRight>
516                        <PaddingTop>2pt</PaddingTop>
517                      </Style>
518                      <CanGrow>true</CanGrow>
519                      <Value>=Fields!rok.Value</Value>
520                    </Textbox>
521                  </ReportItems>
522                </TableCell>
523                <TableCell>
524                  <ReportItems>
525                    <Textbox Name="ms">
526                      <rd:DefaultName>ms</rd:DefaultName>
527                      <ZIndex>10</ZIndex>
528                      <Style>
529                        <BorderStyle>
530                          <Default>Solid</Default>
531                        </BorderStyle>
532                        <TextAlign>Center</TextAlign>
533                        <PaddingLeft>2pt</PaddingLeft>
534                        <BorderWidth>
535                          <Default>0.5pt</Default>
536                        </BorderWidth>
537                        <PaddingBottom>2pt</PaddingBottom>
538                        <FontSize>8pt</FontSize>
539                        <BorderColor>
540                          <Default>LightGrey</Default>
541                        </BorderColor>
542                        <PaddingRight>2pt</PaddingRight>
543                        <PaddingTop>2pt</PaddingTop>
544                      </Style>
545                      <CanGrow>true</CanGrow>
546                      <Value>=Fields!ms.Value</Value>
547                    </Textbox>
548                  </ReportItems>
549                </TableCell>
550                <TableCell>
551                  <ReportItems>
552                    <Textbox Name="AGENCJA">
553                      <rd:DefaultName>AGENCJA</rd:DefaultName>
554                      <ZIndex>9</ZIndex>
555                      <Style>
556                        <BorderStyle>
557                          <Default>Solid</Default>
558                        </BorderStyle>
559                        <TextAlign>Center</TextAlign>
560                        <PaddingLeft>2pt</PaddingLeft>
561                        <BorderWidth>
562                          <Default>0.5pt</Default>
563                        </BorderWidth>
564                        <PaddingBottom>2pt</PaddingBottom>
565                        <FontSize>8pt</FontSize>
566                        <BorderColor>
567                          <Default>LightGrey</Default>
568                        </BorderColor>
569                        <PaddingRight>2pt</PaddingRight>
570                        <PaddingTop>2pt</PaddingTop>
571                      </Style>
572                      <CanGrow>true</CanGrow>
573                      <Value>=Fields!AGENCJA.Value</Value>
574                    </Textbox>
575                  </ReportItems>
576                </TableCell>
577                <TableCell>
578                  <ReportItems>
579                    <Textbox Name="IL">
580                      <rd:DefaultName>IL</rd:DefaultName>
581                      <ZIndex>8</ZIndex>
582                      <Style>
583                        <BorderStyle>
584                          <Default>Solid</Default>
585                        </BorderStyle>
586                        <TextAlign>Center</TextAlign>
587                        <PaddingLeft>2pt</PaddingLeft>
588                        <BorderWidth>
589                          <Default>0.5pt</Default>
590                        </BorderWidth>
591                        <PaddingBottom>2pt</PaddingBottom>
592                        <FontSize>8pt</FontSize>
593                        <BorderColor>
594                          <Default>LightGrey</Default>
595                        </BorderColor>
596                        <PaddingRight>2pt</PaddingRight>
597                        <PaddingTop>2pt</PaddingTop>
598                      </Style>
599                      <CanGrow>true</CanGrow>
600                      <Value>=Fields!IL.Value</Value>
601                    </Textbox>
602                  </ReportItems>
603                </TableCell>
604                <TableCell>
605                  <ReportItems>
606                    <Textbox Name="netto">
607                      <rd:DefaultName>netto</rd:DefaultName>
608                      <ZIndex>7</ZIndex>
609                      <Style>
610                        <BorderStyle>
611                          <Default>Solid</Default>
612                        </BorderStyle>
613                        <TextAlign>Center</TextAlign>
614                        <PaddingLeft>2pt</PaddingLeft>
615                        <BorderWidth>
616                          <Default>0.5pt</Default>
617                        </BorderWidth>
618                        <PaddingBottom>2pt</PaddingBottom>
619                        <FontSize>8pt</FontSize>
620                        <Format>C</Format>
621                        <BorderColor>
622                          <Default>LightGrey</Default>
623                        </BorderColor>
624                        <PaddingRight>2pt</PaddingRight>
625                        <PaddingTop>2pt</PaddingTop>
626                        <Language>pl-PL</Language>
627                      </Style>
628                      <CanGrow>true</CanGrow>
629                      <Value>=Fields!netto.Value</Value>
630                    </Textbox>
631                  </ReportItems>
632                </TableCell>
633                <TableCell>
634                  <ReportItems>
635                    <Textbox Name="powierzchnia_STR">
636                      <rd:DefaultName>powierzchnia_STR</rd:DefaultName>
637                      <ZIndex>6</ZIndex>
638                      <Style>
639                        <BorderStyle>
640                          <Default>Solid</Default>
641                        </BorderStyle>
642                        <TextAlign>Center</TextAlign>
643                        <PaddingLeft>2pt</PaddingLeft>
644                        <BorderWidth>
645                          <Default>0.5pt</Default>
646                        </BorderWidth>
647                        <PaddingBottom>2pt</PaddingBottom>
648                        <FontSize>8pt</FontSize>
649                        <BorderColor>
650                          <Default>LightGrey</Default>
651                        </BorderColor>
652                        <PaddingRight>2pt</PaddingRight>
653                        <PaddingTop>2pt</PaddingTop>
654                      </Style>
655                      <CanGrow>true</CanGrow>
656                      <Value>=Fields!powierzchnia_STR.Value</Value>
657                    </Textbox>
658                  </ReportItems>
659                </TableCell>
660                <TableCell>
661                  <ReportItems>
662                    <Textbox Name="Koszt_druku">
663                      <rd:DefaultName>Koszt_druku</rd:DefaultName>
664                      <ZIndex>5</ZIndex>
665                      <Style>
666                        <BorderStyle>
667                          <Default>Solid</Default>
668                        </BorderStyle>
669                        <TextAlign>Center</TextAlign>
670                        <PaddingLeft>2pt</PaddingLeft>
671                        <BorderWidth>
672                          <Default>0.5pt</Default>
673                        </BorderWidth>
674                        <PaddingBottom>2pt</PaddingBottom>
675                        <FontSize>8pt</FontSize>
676                        <Format>C</Format>
677                        <BorderColor>
678                          <Default>LightGrey</Default>
679                        </BorderColor>
680                        <PaddingRight>2pt</PaddingRight>
681                        <PaddingTop>2pt</PaddingTop>
682                        <Language>pl-PL</Language>
683                      </Style>
684                      <CanGrow>true</CanGrow>
685                      <Value>=Fields!Koszt_druku.Value</Value>
686                    </Textbox>
687                  </ReportItems>
688                </TableCell>
689                <TableCell>
690                  <ReportItems>
691                    <Textbox Name="ksiegowosc">
692                      <rd:DefaultName>ksiegowosc</rd:DefaultName>
693                      <ZIndex>4</ZIndex>
694                      <Style>
695                        <BorderStyle>
696                          <Default>Solid</Default>
697                        </BorderStyle>
698                        <TextAlign>Center</TextAlign>
699                        <PaddingLeft>2pt</PaddingLeft>
700                        <BorderWidth>
701                          <Default>0.5pt</Default>
702                        </BorderWidth>
703                        <PaddingBottom>2pt</PaddingBottom>
704                        <FontSize>8pt</FontSize>
705                        <Format>C</Format>
706                        <BorderColor>
707                          <Default>LightGrey</Default>
708                        </BorderColor>
709                        <PaddingRight>2pt</PaddingRight>
710                        <PaddingTop>2pt</PaddingTop>
711                        <Language>pl-PL</Language>
712                      </Style>
713                      <CanGrow>true</CanGrow>
714                      <Value>=Fields!ksiegowosc.Value</Value>
715                    </Textbox>
716                  </ReportItems>
717                </TableCell>
718                <TableCell>
719                  <ReportItems>
720                    <Textbox Name="dochod">
721                      <rd:DefaultName>dochod</rd:DefaultName>
722                      <ZIndex>3</ZIndex>
723                      <Style>
724                        <BorderStyle>
725                          <Default>Solid</Default>
726                        </BorderStyle>
727                        <TextAlign>Center</TextAlign>
728                        <PaddingLeft>2pt</PaddingLeft>
729                        <BorderWidth>
730                          <Default>0.5pt</Default>
731                        </BorderWidth>
732                        <PaddingBottom>2pt</PaddingBottom>
733                        <FontSize>8pt</FontSize>
734                        <Format>C</Format>
735                        <BorderColor>
736                          <Default>LightGrey</Default>
737                        </BorderColor>
738                        <PaddingRight>2pt</PaddingRight>
739                        <PaddingTop>2pt</PaddingTop>
740                        <Language>pl-PL</Language>
741                      </Style>
742                      <CanGrow>true</CanGrow>
743                      <Value>=Fields!dochod.Value</Value>
744                    </Textbox>
745                  </ReportItems>
746                </TableCell>
747                <TableCell>
748                  <ReportItems>
749                    <Textbox Name="pr_dochod">
750                      <rd:DefaultName>pr_dochod</rd:DefaultName>
751                      <ZIndex>2</ZIndex>
752                      <Style>
753                        <BorderStyle>
754                          <Default>Solid</Default>
755                        </BorderStyle>
756                        <TextAlign>Center</TextAlign>
757                        <PaddingLeft>2pt</PaddingLeft>
758                        <BorderWidth>
759                          <Default>0.5pt</Default>
760                        </BorderWidth>
761                        <PaddingBottom>2pt</PaddingBottom>
762                        <FontSize>8pt</FontSize>
763                        <Format>C</Format>
764                        <BorderColor>
765                          <Default>LightGrey</Default>
766                        </BorderColor>
767                        <PaddingRight>2pt</PaddingRight>
768                        <PaddingTop>2pt</PaddingTop>
769                        <Language>pl-PL</Language>
770                      </Style>
771                      <CanGrow>true</CanGrow>
772                      <Value>=Fields!pr_dochod.Value</Value>
773                    </Textbox>
774                  </ReportItems>
775                </TableCell>
776                <TableCell>
777                  <ReportItems>
778                    <Textbox Name="sr_koszt_druku">
779                      <rd:DefaultName>sr_koszt_druku</rd:DefaultName>
780                      <ZIndex>1</ZIndex>
781                      <Style>
782                        <BorderStyle>
783                          <Default>Solid</Default>
784                        </BorderStyle>
785                        <TextAlign>Center</TextAlign>
786                        <PaddingLeft>2pt</PaddingLeft>
787                        <BorderWidth>
788                          <Default>0.5pt</Default>
789                        </BorderWidth>
790                        <PaddingBottom>2pt</PaddingBottom>
791                        <FontSize>8pt</FontSize>
792                        <Format>C</Format>
793                        <BorderColor>
794                          <Default>LightGrey</Default>
795                        </BorderColor>
796                        <PaddingRight>2pt</PaddingRight>
797                        <PaddingTop>2pt</PaddingTop>
798                        <Language>pl-PL</Language>
799                      </Style>
800                      <CanGrow>true</CanGrow>
801                      <Value>=Fields!sr_koszt_druku.Value</Value>
802                    </Textbox>
803                  </ReportItems>
804                </TableCell>
805                <TableCell>
806                  <ReportItems>
807                    <Textbox Name="sr_dochod">
808                      <rd:DefaultName>sr_dochod</rd:DefaultName>
809                      <Style>
810                        <BorderStyle>
811                          <Default>Solid</Default>
812                        </BorderStyle>
813                        <TextAlign>Center</TextAlign>
814                        <PaddingLeft>2pt</PaddingLeft>
815                        <BorderWidth>
816                          <Default>0.5pt</Default>
817                        </BorderWidth>
818                        <PaddingBottom>2pt</PaddingBottom>
819                        <FontSize>8pt</FontSize>
820                        <Format>C</Format>
821                        <BorderColor>
822                          <Default>LightGrey</Default>
823                        </BorderColor>
824                        <PaddingRight>2pt</PaddingRight>
825                        <PaddingTop>2pt</PaddingTop>
826                        <Language>pl-PL</Language>
827                      </Style>
828                      <CanGrow>true</CanGrow>
829                      <Value>=Fields!sr_dochod.Value</Value>
830                    </Textbox>
831                  </ReportItems>
832                </TableCell>
833              </TableCells>
834              <Height>0.63492cm</Height>
835            </TableRow>
836          </TableRows>
837          <Sorting>
838            <SortBy>
839              <SortExpression>=Fields!rok.Value</SortExpression>
840              <Direction>Descending</Direction>
841            </SortBy>
842            <SortBy>
843              <SortExpression>=Fields!ms.Value</SortExpression>
844              <Direction>Descending</Direction>
845            </SortBy>
846          </Sorting>
847        </Details>
848        <Header>
849          <TableRows>
850            <TableRow>
851              <TableCells>
852                <TableCell>
853                  <ReportItems>
854                    <Textbox Name="textbox1">
855                      <rd:DefaultName>textbox1</rd:DefaultName>
856                      <ZIndex>47</ZIndex>
857                      <Style>
858                        <BorderStyle>
859                          <Default>Solid</Default>
860                        </BorderStyle>
861                        <TextAlign>Center</TextAlign>
862                        <PaddingLeft>2pt</PaddingLeft>
863                        <BorderWidth>
864                          <Default>0.5pt</Default>
865                        </BorderWidth>
866                        <PaddingBottom>2pt</PaddingBottom>
867                        <FontWeight>700</FontWeight>
868                        <FontSize>8pt</FontSize>
869                        <BorderColor>
870                          <Default>LightGrey</Default>
871                        </BorderColor>
872                        <BackgroundColor>WhiteSmoke</BackgroundColor>
873                        <PaddingRight>2pt</PaddingRight>
874                        <PaddingTop>2pt</PaddingTop>
875                      </Style>
876                      <CanGrow>true</CanGrow>
877                      <Value>rok</Value>
878                    </Textbox>
879                  </ReportItems>
880                </TableCell>
881                <TableCell>
882                  <ReportItems>
883                    <Textbox Name="textbox2">
884                      <rd:DefaultName>textbox2</rd:DefaultName>
885                      <ZIndex>46</ZIndex>
886                      <Style>
887                        <BorderStyle>
888                          <Default>Solid</Default>
889                        </BorderStyle>
890                        <TextAlign>Center</TextAlign>
891                        <PaddingLeft>2pt</PaddingLeft>
892                        <BorderWidth>
893                          <Default>0.5pt</Default>
894                        </BorderWidth>
895                        <PaddingBottom>2pt</PaddingBottom>
896                        <FontWeight>700</FontWeight>
897                        <FontSize>8pt</FontSize>
898                        <BorderColor>
899                          <Default>LightGrey</Default>
900                        </BorderColor>
901                        <BackgroundColor>WhiteSmoke</BackgroundColor>
902                        <PaddingRight>2pt</PaddingRight>
903                        <PaddingTop>2pt</PaddingTop>
904                      </Style>
905                      <CanGrow>true</CanGrow>
906                      <Value>ms</Value>
907                    </Textbox>
908                  </ReportItems>
909                </TableCell>
910                <TableCell>
911                  <ReportItems>
912                    <Textbox Name="textbox3">
913                      <rd:DefaultName>textbox3</rd:DefaultName>
914                      <ZIndex>45</ZIndex>
915                      <Style>
916                        <BorderStyle>
917                          <Default>Solid</Default>
918                        </BorderStyle>
919                        <TextAlign>Center</TextAlign>
920                        <PaddingLeft>2pt</PaddingLeft>
921                        <BorderWidth>
922                          <Default>0.5pt</Default>
923                        </BorderWidth>
924                        <PaddingBottom>2pt</PaddingBottom>
925                        <FontWeight>700</FontWeight>
926                        <FontSize>8pt</FontSize>
927                        <BorderColor>
928                          <Default>LightGrey</Default>
929                        </BorderColor>
930                        <BackgroundColor>WhiteSmoke</BackgroundColor>
931                        <PaddingRight>2pt</PaddingRight>
932                        <PaddingTop>2pt</PaddingTop>
933                      </Style>
934                      <CanGrow>true</CanGrow>
935                      <Value>agencja</Value>
936                    </Textbox>
937                  </ReportItems>
938                </TableCell>
939                <TableCell>
940                  <ReportItems>
941                    <Textbox Name="textbox28">
942                      <rd:DefaultName>textbox28</rd:DefaultName>
943                      <ZIndex>44</ZIndex>
944                      <Style>
945                        <BorderStyle>
946                          <Default>Solid</Default>
947                        </BorderStyle>
948                        <TextAlign>Center</TextAlign>
949                        <PaddingLeft>2pt</PaddingLeft>
950                        <BorderWidth>
951                          <Default>0.5pt</Default>
952                        </BorderWidth>
953                        <PaddingBottom>2pt</PaddingBottom>
954                        <FontWeight>700</FontWeight>
955                        <FontSize>8pt</FontSize>
956                        <BorderColor>
957                          <Default>LightGrey</Default>
958                        </BorderColor>
959                        <BackgroundColor>WhiteSmoke</BackgroundColor>
960                        <PaddingRight>2pt</PaddingRight>
961                        <PaddingTop>2pt</PaddingTop>
962                      </Style>
963                      <CanGrow>true</CanGrow>
964                      <Value>il</Value>
965                    </Textbox>
966                  </ReportItems>
967                </TableCell>
968                <TableCell>
969                  <ReportItems>
970                    <Textbox Name="textbox33">
971                      <rd:DefaultName>textbox33</rd:DefaultName>
972                      <ZIndex>43</ZIndex>
973                      <Style>
974                        <BorderStyle>
975                          <Default>Solid</Default>
976                        </BorderStyle>
977                        <TextAlign>Center</TextAlign>
978                        <PaddingLeft>2pt</PaddingLeft>
979                        <BorderWidth>
980                          <Default>0.5pt</Default>
981                        </BorderWidth>
982                        <PaddingBottom>2pt</PaddingBottom>
983                        <FontWeight>700</FontWeight>
984                        <FontSize>8pt</FontSize>
985                        <BorderColor>
986                          <Default>LightGrey</Default>
987                        </BorderColor>
988                        <BackgroundColor>WhiteSmoke</BackgroundColor>
989                        <PaddingRight>2pt</PaddingRight>
990                        <PaddingTop>2pt</PaddingTop>
991                      </Style>
992                      <CanGrow>true</CanGrow>
993                      <Value>netto</Value>
994                    </Textbox>
995                  </ReportItems>
996                </TableCell>
997                <TableCell>
998                  <ReportItems>
999                    <Textbox Name="textbox30">
1000                      <rd:DefaultName>textbox30</rd:DefaultName>
1001                      <ZIndex>42</ZIndex>
1002                      <Style>
1003                        <BorderStyle>
1004                          <Default>Solid</Default>
1005                        </BorderStyle>
1006                        <TextAlign>Center</TextAlign>
1007                        <PaddingLeft>2pt</PaddingLeft>
1008                        <BorderWidth>
1009                          <Default>0.5pt</Default>
1010                        </BorderWidth>
1011                        <PaddingBottom>2pt</PaddingBottom>
1012                        <FontWeight>700</FontWeight>
1013                        <FontSize>8pt</FontSize>
1014                        <BorderColor>
1015                          <Default>LightGrey</Default>
1016                        </BorderColor>
1017                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1018                        <PaddingRight>2pt</PaddingRight>
1019                        <PaddingTop>2pt</PaddingTop>
1020                      </Style>
1021                      <CanGrow>true</CanGrow>
1022                      <Value>powierzchnia STR</Value>
1023                    </Textbox>
1024                  </ReportItems>
1025                </TableCell>
1026                <TableCell>
1027                  <ReportItems>
1028                    <Textbox Name="textbox18">
1029                      <rd:DefaultName>textbox18</rd:DefaultName>
1030                      <ZIndex>41</ZIndex>
1031                      <Style>
1032                        <BorderStyle>
1033                          <Default>Solid</Default>
1034                        </BorderStyle>
1035                        <TextAlign>Center</TextAlign>
1036                        <PaddingLeft>2pt</PaddingLeft>
1037                        <BorderWidth>
1038                          <Default>0.5pt</Default>
1039                        </BorderWidth>
1040                        <PaddingBottom>2pt</PaddingBottom>
1041                        <FontWeight>700</FontWeight>
1042                        <FontSize>8pt</FontSize>
1043                        <BorderColor>
1044                          <Default>LightGrey</Default>
1045                        </BorderColor>
1046                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1047                        <PaddingRight>2pt</PaddingRight>
1048                        <PaddingTop>2pt</PaddingTop>
1049                      </Style>
1050                      <CanGrow>true</CanGrow>
1051                      <Value>koszt druku</Value>
1052                    </Textbox>
1053                  </ReportItems>
1054                </TableCell>
1055                <TableCell>
1056                  <ReportItems>
1057                    <Textbox Name="textbox13">
1058                      <rd:DefaultName>textbox13</rd:DefaultName>
1059                      <ZIndex>40</ZIndex>
1060                      <Style>
1061                        <BorderStyle>
1062                          <Default>Solid</Default>
1063                        </BorderStyle>
1064                        <TextAlign>Center</TextAlign>
1065                        <PaddingLeft>2pt</PaddingLeft>
1066                        <BorderWidth>
1067                          <Default>0.5pt</Default>
1068                        </BorderWidth>
1069                        <PaddingBottom>2pt</PaddingBottom>
1070                        <FontWeight>700</FontWeight>
1071                        <FontSize>8pt</FontSize>
1072                        <BorderColor>
1073                          <Default>LightGrey</Default>
1074                        </BorderColor>
1075                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1076                        <PaddingRight>2pt</PaddingRight>
1077                        <PaddingTop>2pt</PaddingTop>
1078                      </Style>
1079                      <CanGrow>true</CanGrow>
1080                      <Value>księgowość</Value>
1081                    </Textbox>
1082                  </ReportItems>
1083                </TableCell>
1084                <TableCell>
1085                  <ReportItems>
1086                    <Textbox Name="textbox38">
1087                      <rd:DefaultName>textbox38</rd:DefaultName>
1088                      <ZIndex>39</ZIndex>
1089                      <Style>
1090                        <BorderStyle>
1091                          <Default>Solid</Default>
1092                        </BorderStyle>
1093                        <TextAlign>Center</TextAlign>
1094                        <PaddingLeft>2pt</PaddingLeft>
1095                        <BorderWidth>
1096                          <Default>0.5pt</Default>
1097                        </BorderWidth>
1098                        <PaddingBottom>2pt</PaddingBottom>
1099                        <FontWeight>700</FontWeight>
1100                        <FontSize>8pt</FontSize>
1101                        <BorderColor>
1102                          <Default>LightGrey</Default>
1103                        </BorderColor>
1104                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1105                        <PaddingRight>2pt</PaddingRight>
1106                        <PaddingTop>2pt</PaddingTop>
1107                      </Style>
1108                      <CanGrow>true</CanGrow>
1109                      <Value>dochód</Value>
1110                    </Textbox>
1111                  </ReportItems>
1112                </TableCell>
1113                <TableCell>
1114                  <ReportItems>
1115                    <Textbox Name="textbox15">
1116                      <rd:DefaultName>textbox15</rd:DefaultName>
1117                      <ZIndex>38</ZIndex>
1118                      <Style>
1119                        <BorderStyle>
1120                          <Default>Solid</Default>
1121                        </BorderStyle>
1122                        <TextAlign>Center</TextAlign>
1123                        <PaddingLeft>2pt</PaddingLeft>
1124                        <BorderWidth>
1125                          <Default>0.5pt</Default>
1126                        </BorderWidth>
1127                        <PaddingBottom>2pt</PaddingBottom>
1128                        <FontWeight>700</FontWeight>
1129                        <FontSize>8pt</FontSize>
1130                        <BorderColor>
1131                          <Default>LightGrey</Default>
1132                        </BorderColor>
1133                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1134                        <PaddingRight>2pt</PaddingRight>
1135                        <PaddingTop>2pt</PaddingTop>
1136                      </Style>
1137                      <CanGrow>true</CanGrow>
1138                      <Value>pr dochód</Value>
1139                    </Textbox>
1140                  </ReportItems>
1141                </TableCell>
1142                <TableCell>
1143                  <ReportItems>
1144                    <Textbox Name="textbox46">
1145                      <rd:DefaultName>textbox46</rd:DefaultName>
1146                      <ZIndex>37</ZIndex>
1147                      <Style>
1148                        <BorderStyle>
1149                          <Default>Solid</Default>
1150                        </BorderStyle>
1151                        <TextAlign>Center</TextAlign>
1152                        <PaddingLeft>2pt</PaddingLeft>
1153                        <BorderWidth>
1154                          <Default>0.5pt</Default>
1155                        </BorderWidth>
1156                        <PaddingBottom>2pt</PaddingBottom>
1157                        <FontWeight>700</FontWeight>
1158                        <FontSize>8pt</FontSize>
1159                        <BorderColor>
1160                          <Default>LightGrey</Default>
1161                        </BorderColor>
1162                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1163                        <PaddingRight>2pt</PaddingRight>
1164                        <PaddingTop>2pt</PaddingTop>
1165                      </Style>
1166                      <CanGrow>true</CanGrow>
1167                      <Value>średni k. druku</Value>
1168                    </Textbox>
1169                  </ReportItems>
1170                </TableCell>
1171                <TableCell>
1172                  <ReportItems>
1173                    <Textbox Name="textbox23">
1174                      <rd:DefaultName>textbox23</rd:DefaultName>
1175                      <ZIndex>36</ZIndex>
1176                      <Style>
1177                        <BorderStyle>
1178                          <Default>Solid</Default>
1179                        </BorderStyle>
1180                        <TextAlign>Center</TextAlign>
1181                        <PaddingLeft>2pt</PaddingLeft>
1182                        <BorderWidth>
1183                          <Default>0.5pt</Default>
1184                        </BorderWidth>
1185                        <PaddingBottom>2pt</PaddingBottom>
1186                        <FontWeight>700</FontWeight>
1187                        <FontSize>8pt</FontSize>
1188                        <BorderColor>
1189                          <Default>LightGrey</Default>
1190                        </BorderColor>
1191                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1192                        <PaddingRight>2pt</PaddingRight>
1193                        <PaddingTop>2pt</PaddingTop>
1194                      </Style>
1195                      <CanGrow>true</CanGrow>
1196                      <Value>średni dochód</Value>
1197                    </Textbox>
1198                  </ReportItems>
1199                </TableCell>
1200              </TableCells>
1201              <Height>0.63492cm</Height>
1202            </TableRow>
1203          </TableRows>
1204        </Header>
1205        <TableColumns>
1206          <TableColumn>
1207            <Width>1.25cm</Width>
1208          </TableColumn>
1209          <TableColumn>
1210            <Width>1.02646cm</Width>
1211          </TableColumn>
1212          <TableColumn>
1213            <Width>2.75cm</Width>
1214          </TableColumn>
1215          <TableColumn>
1216            <Width>1cm</Width>
1217          </TableColumn>
1218          <TableColumn>
1219            <Width>2.5cm</Width>
1220          </TableColumn>
1221          <TableColumn>
1222            <Width>3.5cm</Width>
1223          </TableColumn>
1224          <TableColumn>
1225            <Width>2.5cm</Width>
1226          </TableColumn>
1227          <TableColumn>
1228            <Width>2.5cm</Width>
1229          </TableColumn>
1230          <TableColumn>
1231            <Width>2.5cm</Width>
1232          </TableColumn>
1233          <TableColumn>
1234            <Width>2.5cm</Width>
1235          </TableColumn>
1236          <TableColumn>
1237            <Width>2.5cm</Width>
1238          </TableColumn>
1239          <TableColumn>
1240            <Width>2.5cm</Width>
1241          </TableColumn>
1242        </TableColumns>
1243      </Table>
1244    </ReportItems>
1245    <Height>2.01984cm</Height>
1246  </Body>
1247  <PageHeader>
1248    <ReportItems>
1249      <Textbox Name="textbox43">
1250        <Left>5.25cm</Left>
1251        <Top>0.25cm</Top>
1252        <rd:DefaultName>textbox43</rd:DefaultName>
1253        <Width>15.5cm</Width>
1254        <Style>
1255          <PaddingLeft>2pt</PaddingLeft>
1256          <PaddingBottom>2pt</PaddingBottom>
1257          <FontWeight>700</FontWeight>
1258          <FontSize>12pt</FontSize>
1259          <PaddingRight>2pt</PaddingRight>
1260          <PaddingTop>2pt</PaddingTop>
1261        </Style>
1262        <CanGrow>true</CanGrow>
1263        <Value>ZESTAWIENIE PRZYCHODÓW I KOSZTÓW BIURA</Value>
1264      </Textbox>
1265    </ReportItems>
1266    <Height>0.88492cm</Height>
1267    <PrintOnLastPage>true</PrintOnLastPage>
1268    <PrintOnFirstPage>true</PrintOnFirstPage>
1269  </PageHeader>
1270  <rd:ReportID>e37fbf21-bc32-48d7-9aae-916124305d82</rd:ReportID>
1271  <LeftMargin>2.5cm</LeftMargin>
1272  <DataSets>
1273    <DataSet Name="KosztyPrzychody">
1274      <Query>
1275        <CommandText>SELECT        R.rok, R.ms, AGENCJE.Symbol AS AGENCJA, R.IL, R.netto, R.powierzchnia_STR, R.Koszt_druku, Koszty_Biura.ksiegowosc,
1276                         R.netto - Koszty_Biura.ksiegowosc - R.Koszt_druku AS dochod, (R.netto - Koszty_Biura.ksiegowosc - R.Koszt_druku) / R.netto AS pr_dochod,
1277                         R.Koszt_druku / R.powierzchnia_STR AS sr_koszt_druku, (R.netto - Koszty_Biura.ksiegowosc - R.Koszt_druku) / R.IL AS sr_dochod
1278FROM            (SELECT        AGENCJE.Id_agencji, { fn YEAR(REKLAMA.[DATA ZAPŁATY]) } AS rok, { fn MONTH(REKLAMA.[DATA ZAPŁATY]) } AS ms, COUNT(*) AS IL,
1279                                                    SUM(REKLAMA.NETTO) AS netto,
1280                                                    SUM([NAZWY MODUŁÓW].MOD_SZER * [NAZWY MODUŁÓW].MOD_WYS * REKLAMA.SZER * REKLAMA.WYS * REKLAMA.KROTNOŚĆ / 845.25)
1281                                                    AS powierzchnia_STR,
1282                                                    SUM(GRZBIETY.Koszt_Druku * [NAZWY MODUŁÓW].MOD_SZER * [NAZWY MODUŁÓW].MOD_WYS * REKLAMA.SZER * REKLAMA.WYS * REKLAMA.KROTNOŚĆ
1283                                                     / 845.25) AS Koszt_druku
1284                          FROM            AGENCJE INNER JOIN
1285                                                    AGENCI ON AGENCJE.Id_agencji = AGENCI.ID_AGENCJI INNER JOIN
1286                                                    REKLAMA ON AGENCI.Symbol = REKLAMA.[SYMBOL AKWIZYTORA] LEFT OUTER JOIN
1287                                                    GRZBIETY ON REKLAMA.GRZBIET = GRZBIETY.ID LEFT OUTER JOIN
1288                                                    [NAZWY MODUŁÓW] ON REKLAMA.MOD_TYP = [NAZWY MODUŁÓW].MOD_TYP
1289                          WHERE        (REKLAMA.TYP = N'płatna') AND (REKLAMA.[ZATWIERDZONO DO DRUKU] = - 1) AND (REKLAMA.ZAPŁACONO = - 1)
1290                          GROUP BY { fn YEAR(REKLAMA.[DATA ZAPŁATY]) }, { fn MONTH(REKLAMA.[DATA ZAPŁATY]) }, AGENCJE.Id_agencji
1291                          HAVING         ({ fn YEAR(REKLAMA.[DATA ZAPŁATY]) } &gt; 2003)) AS R INNER JOIN
1292                         AGENCJE ON R.Id_agencji = AGENCJE.Id_agencji INNER JOIN
1293                         Koszty_Biura ON R.Id_agencji = Koszty_Biura.id_Agencji AND R.rok = Koszty_Biura.rok AND R.ms = Koszty_Biura.miesiac</CommandText>
1294        <DataSourceName>BAZA_REKLAM</DataSourceName>
1295      </Query>
1296      <Filters>
1297        <Filter>
1298          <Operator>Equal</Operator>
1299          <FilterValues>
1300            <FilterValue>=Parameters!rok.Value</FilterValue>
1301          </FilterValues>
1302          <FilterExpression>=Fields!rok.Value</FilterExpression>
1303        </Filter>
1304      </Filters>
1305      <Fields>
1306        <Field Name="rok">
1307          <rd:TypeName>System.Int32</rd:TypeName>
1308          <DataField>rok</DataField>
1309        </Field>
1310        <Field Name="ms">
1311          <rd:TypeName>System.Int32</rd:TypeName>
1312          <DataField>ms</DataField>
1313        </Field>
1314        <Field Name="AGENCJA">
1315          <rd:TypeName>System.String</rd:TypeName>
1316          <DataField>AGENCJA</DataField>
1317        </Field>
1318        <Field Name="IL">
1319          <rd:TypeName>System.Int32</rd:TypeName>
1320          <DataField>IL</DataField>
1321        </Field>
1322        <Field Name="netto">
1323          <rd:TypeName>System.Double</rd:TypeName>
1324          <DataField>netto</DataField>
1325        </Field>
1326        <Field Name="powierzchnia_STR">
1327          <rd:TypeName>System.Double</rd:TypeName>
1328          <DataField>powierzchnia_STR</DataField>
1329        </Field>
1330        <Field Name="Koszt_druku">
1331          <rd:TypeName>System.Double</rd:TypeName>
1332          <DataField>Koszt_druku</DataField>
1333        </Field>
1334        <Field Name="ksiegowosc">
1335          <rd:TypeName>System.Decimal</rd:TypeName>
1336          <DataField>ksiegowosc</DataField>
1337        </Field>
1338        <Field Name="dochod">
1339          <rd:TypeName>System.Double</rd:TypeName>
1340          <DataField>dochod</DataField>
1341        </Field>
1342        <Field Name="pr_dochod">
1343          <rd:TypeName>System.Double</rd:TypeName>
1344          <DataField>pr_dochod</DataField>
1345        </Field>
1346        <Field Name="sr_koszt_druku">
1347          <rd:TypeName>System.Double</rd:TypeName>
1348          <DataField>sr_koszt_druku</DataField>
1349        </Field>
1350        <Field Name="sr_dochod">
1351          <rd:TypeName>System.Double</rd:TypeName>
1352          <DataField>sr_dochod</DataField>
1353        </Field>
1354      </Fields>
1355    </DataSet>
1356    <DataSet Name="ListaAgencji">
1357      <Query>
1358        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
1359        <CommandText>SELECT        Id_agencji, Symbol
1360FROM            AGENCJE where aktywna=1</CommandText>
1361        <DataSourceName>BAZA_REKLAM</DataSourceName>
1362      </Query>
1363      <Fields>
1364        <Field Name="Id_agencji">
1365          <rd:TypeName>System.Int32</rd:TypeName>
1366          <DataField>Id_agencji</DataField>
1367        </Field>
1368        <Field Name="Symbol">
1369          <rd:TypeName>System.String</rd:TypeName>
1370          <DataField>Symbol</DataField>
1371        </Field>
1372      </Fields>
1373    </DataSet>
1374    <DataSet Name="ListaLat">
1375      <Query>
1376        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
1377        <CommandText>select distinct rok from koszty_biura order by rok desc</CommandText>
1378        <DataSourceName>BAZA_REKLAM</DataSourceName>
1379      </Query>
1380      <Fields>
1381        <Field Name="rok">
1382          <rd:TypeName>System.Int32</rd:TypeName>
1383          <DataField>rok</DataField>
1384        </Field>
1385      </Fields>
1386    </DataSet>
1387  </DataSets>
1388  <Width>27.02646cm</Width>
1389  <InteractiveHeight>29.7cm</InteractiveHeight>
1390  <Language>en-US</Language>
1391  <TopMargin>2.5cm</TopMargin>
1392  <PageHeight>29.7cm</PageHeight>
1393</Report>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.