root/trunk/RaportySQL/ListaReklamA4.rdl @ 976

Wersja 738, 48.3 KB (wprowadzona przez marek, 17 years temu)

poprawiono raporty, miejsce po przecinku przy obliczaniu rozmiaru dla Master Truck

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      <rd:DataSourceID>71af35be-d6b9-40ac-aa77-85f47c870948</rd:DataSourceID>
6      <DataSourceReference>BAZA_REKLAM</DataSourceReference>
7    </DataSource>
8  </DataSources>
9  <InteractiveHeight>29.7cm</InteractiveHeight>
10  <ReportParameters>
11    <ReportParameter Name="tytul">
12      <DataType>String</DataType>
13      <DefaultValue>
14        <Values>
15          <Value>1</Value>
16        </Values>
17      </DefaultValue>
18      <Prompt>Tytuł:</Prompt>
19      <ValidValues>
20        <DataSetReference>
21          <DataSetName>ListaTytulow</DataSetName>
22          <ValueField>Id</ValueField>
23          <LabelField>SYMB</LabelField>
24        </DataSetReference>
25      </ValidValues>
26    </ReportParameter>
27    <ReportParameter Name="nrwydania">
28      <DataType>String</DataType>
29      <Prompt>Nr wydania:</Prompt>
30    </ReportParameter>
31    <ReportParameter Name="agencja">
32      <DataType>String</DataType>
33      <Nullable>true</Nullable>
34      <Prompt>Agencja:</Prompt>
35      <ValidValues>
36        <DataSetReference>
37          <DataSetName>ListaAgencji</DataSetName>
38          <ValueField>Id_agencji</ValueField>
39          <LabelField>Symbol</LabelField>
40        </DataSetReference>
41      </ValidValues>
42    </ReportParameter>
43    <ReportParameter Name="agent">
44      <DataType>String</DataType>
45      <Nullable>true</Nullable>
46      <Prompt>Agent:</Prompt>
47      <ValidValues>
48        <DataSetReference>
49          <DataSetName>ListaAgentow</DataSetName>
50          <ValueField>ID_AGENTA</ValueField>
51          <LabelField>Symbol</LabelField>
52        </DataSetReference>
53      </ValidValues>
54    </ReportParameter>
55    <ReportParameter Name="grzbiet">
56      <DataType>Integer</DataType>
57      <DefaultValue>
58        <DataSetReference>
59          <DataSetName>ListaGrzebietow</DataSetName>
60          <ValueField>ID</ValueField>
61        </DataSetReference>
62      </DefaultValue>
63      <Prompt>Grzbiet:</Prompt>
64      <ValidValues>
65        <DataSetReference>
66          <DataSetName>ListaGrzebietow</DataSetName>
67          <ValueField>ID</ValueField>
68          <LabelField>Nazwa</LabelField>
69        </DataSetReference>
70      </ValidValues>
71      <MultiValue>true</MultiValue>
72    </ReportParameter>
73    <ReportParameter Name="sortuj">
74      <DataType>String</DataType>
75      <DefaultValue>
76        <Values>
77          <Value>0</Value>
78        </Values>
79      </DefaultValue>
80      <AllowBlank>true</AllowBlank>
81      <Prompt>Sortuj:</Prompt>
82      <ValidValues>
83        <ParameterValues>
84          <ParameterValue>
85            <Value>0</Value>
86            <Label>wg Symbolu</Label>
87          </ParameterValue>
88          <ParameterValue>
89            <Value>1</Value>
90            <Label>wg Modułu</Label>
91          </ParameterValue>
92        </ParameterValues>
93      </ValidValues>
94    </ReportParameter>
95    <ReportParameter Name="dzial">
96      <DataType>String</DataType>
97      <DefaultValue>
98        <DataSetReference>
99          <DataSetName>ListaDzialow</DataSetName>
100          <ValueField>Id</ValueField>
101        </DataSetReference>
102      </DefaultValue>
103      <AllowBlank>true</AllowBlank>
104      <Prompt>Działy:</Prompt>
105      <ValidValues>
106        <DataSetReference>
107          <DataSetName>ListaDzialow</DataSetName>
108          <ValueField>Id</ValueField>
109          <LabelField>Name</LabelField>
110        </DataSetReference>
111      </ValidValues>
112      <MultiValue>true</MultiValue>
113    </ReportParameter>
114  </ReportParameters>
115  <rd:DrawGrid>true</rd:DrawGrid>
116  <InteractiveWidth>21cm</InteractiveWidth>
117  <rd:GridSpacing>0.15cm</rd:GridSpacing>
118  <rd:SnapToGrid>true</rd:SnapToGrid>
119  <RightMargin>1cm</RightMargin>
120  <LeftMargin>1cm</LeftMargin>
121  <BottomMargin>1cm</BottomMargin>
122  <rd:ReportID>c8c9d8c9-35ad-4718-921a-81280b453acf</rd:ReportID>
123  <PageWidth>21cm</PageWidth>
124  <DataSets>
125    <DataSet Name="ListaReklam">
126      <Fields>
127        <Field Name="ReklamaID">
128          <DataField>ReklamaID</DataField>
129          <rd:TypeName>System.Int32</rd:TypeName>
130        </Field>
131        <Field Name="TYTUŁ">
132          <DataField>TYTUŁ</DataField>
133          <rd:TypeName>System.String</rd:TypeName>
134        </Field>
135        <Field Name="ID_REKLAMY">
136          <DataField>ID REKLAMY</DataField>
137          <rd:TypeName>System.String</rd:TypeName>
138        </Field>
139        <Field Name="SZER">
140          <DataField>SZER</DataField>
141          <rd:TypeName>System.Double</rd:TypeName>
142        </Field>
143        <Field Name="WYS">
144          <DataField>WYS</DataField>
145          <rd:TypeName>System.Double</rd:TypeName>
146        </Field>
147        <Field Name="KOLOR">
148          <DataField>KOLOR</DataField>
149          <rd:TypeName>System.String</rd:TypeName>
150        </Field>
151        <Field Name="NICK_NAME">
152          <DataField>NICK NAME</DataField>
153          <rd:TypeName>System.String</rd:TypeName>
154        </Field>
155        <Field Name="MOD_TYP">
156          <DataField>MOD_TYP</DataField>
157          <rd:TypeName>System.String</rd:TypeName>
158        </Field>
159        <Field Name="RABAT">
160          <DataField>RABAT</DataField>
161          <rd:TypeName>System.Double</rd:TypeName>
162        </Field>
163        <Field Name="lokalizacja">
164          <DataField>lokalizacja</DataField>
165          <rd:TypeName>System.String</rd:TypeName>
166        </Field>
167        <Field Name="lokalizacja1">
168          <DataField>lokalizacja1</DataField>
169          <rd:TypeName>System.String</rd:TypeName>
170        </Field>
171        <Field Name="NR">
172          <DataField>NR</DataField>
173          <rd:TypeName>System.Int16</rd:TypeName>
174        </Field>
175        <Field Name="ZATWIERDZONO_DO_DRUKU">
176          <DataField>ZATWIERDZONO DO DRUKU</DataField>
177          <rd:TypeName>System.Boolean</rd:TypeName>
178        </Field>
179        <Field Name="GRZBIET">
180          <DataField>GRZBIET</DataField>
181          <rd:TypeName>System.Int32</rd:TypeName>
182        </Field>
183        <Field Name="STRONA">
184          <DataField>STRONA</DataField>
185          <rd:TypeName>System.Int16</rd:TypeName>
186        </Field>
187        <Field Name="agencja">
188          <DataField>Agencja</DataField>
189          <rd:TypeName>System.String</rd:TypeName>
190        </Field>
191        <Field Name="SYMBOL_AKWIZYTORA">
192          <DataField>SYMBOL AKWIZYTORA</DataField>
193          <rd:TypeName>System.String</rd:TypeName>
194        </Field>
195        <Field Name="KROTNOŚĆ">
196          <DataField>KROTNOŚĆ</DataField>
197          <rd:TypeName>System.Int16</rd:TypeName>
198        </Field>
199        <Field Name="NETTO">
200          <DataField>NETTO</DataField>
201          <rd:TypeName>System.Double</rd:TypeName>
202        </Field>
203        <Field Name="nazwaGrzbietu">
204          <DataField>nazwaGrzbietu</DataField>
205          <rd:TypeName>System.String</rd:TypeName>
206        </Field>
207        <Field Name="ID_AGENTA">
208          <DataField>ID_AGENTA</DataField>
209          <rd:TypeName>System.Int32</rd:TypeName>
210        </Field>
211        <Field Name="CENA_JEDN">
212          <DataField>CENA JEDN</DataField>
213          <rd:TypeName>System.Double</rd:TypeName>
214        </Field>
215        <Field Name="RABAT_WARTOŚĆ">
216          <DataField>RABAT WARTOŚĆ</DataField>
217          <rd:TypeName>System.Double</rd:TypeName>
218        </Field>
219        <Field Name="nettoZEmisji">
220          <DataField>nettoZEmisji</DataField>
221          <rd:TypeName>System.Decimal</rd:TypeName>
222        </Field>
223        <Field Name="zafakturowana">
224          <DataField>zafakturowana</DataField>
225          <rd:TypeName>System.Boolean</rd:TypeName>
226        </Field>
227        <Field Name="Dzial">
228          <DataField>Dzial</DataField>
229          <rd:TypeName>System.String</rd:TypeName>
230        </Field>
231        <Field Name="Rozdzial">
232          <DataField>Rozdzial</DataField>
233          <rd:TypeName>System.String</rd:TypeName>
234        </Field>
235      </Fields>
236      <Query>
237        <DataSourceName>BAZA_REKLAM</DataSourceName>
238        <CommandType>StoredProcedure</CommandType>
239        <CommandText>sp_GetListaReklamNaWydanie</CommandText>
240        <QueryParameters>
241          <QueryParameter Name="@nrwydania">
242            <Value>=Parameters!nrwydania.Value</Value>
243          </QueryParameter>
244          <QueryParameter Name="@tytul">
245            <Value>=Parameters!tytul.Value</Value>
246          </QueryParameter>
247          <QueryParameter Name="@dzial">
248            <Value>=Parameters!dzial.Value</Value>
249          </QueryParameter>
250          <QueryParameter Name="@agencja">
251            <Value>=Parameters!agencja.Value</Value>
252          </QueryParameter>
253          <QueryParameter Name="@agent">
254            <Value>=Parameters!agent.Value</Value>
255          </QueryParameter>
256          <QueryParameter Name="@grzbiet">
257            <Value>=Parameters!grzbiet.Value</Value>
258          </QueryParameter>
259        </QueryParameters>
260      </Query>
261    </DataSet>
262    <DataSet Name="ListaTytulow">
263      <Fields>
264        <Field Name="Id">
265          <DataField>Id</DataField>
266          <rd:TypeName>System.Int32</rd:TypeName>
267        </Field>
268        <Field Name="SYMB">
269          <DataField>Symb</DataField>
270          <rd:TypeName>System.String</rd:TypeName>
271        </Field>
272      </Fields>
273      <Query>
274        <DataSourceName>BAZA_REKLAM</DataSourceName>
275        <CommandText>SELECT Id, Symb FROM [LISTA TYTUŁÓW]
276WHERE Active=1</CommandText>
277        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
278      </Query>
279    </DataSet>
280    <DataSet Name="ListaAgencji">
281      <Fields>
282        <Field Name="Id_agencji">
283          <DataField>Id_agencji</DataField>
284          <rd:TypeName>System.Int32</rd:TypeName>
285        </Field>
286        <Field Name="Symbol">
287          <DataField>Symbol</DataField>
288          <rd:TypeName>System.String</rd:TypeName>
289        </Field>
290      </Fields>
291      <Query>
292        <DataSourceName>BAZA_REKLAM</DataSourceName>
293        <CommandText>SELECT Id_agencji, Symbol
294FROM AGENCJE where aktywna=1
295union
296select NULL ,'Wszystkie'
297order by Symbol</CommandText>
298        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
299      </Query>
300    </DataSet>
301    <DataSet Name="ListaAgentow">
302      <Fields>
303        <Field Name="ID_AGENTA">
304          <DataField>ID_AGENTA</DataField>
305          <rd:TypeName>System.Int32</rd:TypeName>
306        </Field>
307        <Field Name="Symbol">
308          <DataField>Symbol</DataField>
309          <rd:TypeName>System.String</rd:TypeName>
310        </Field>
311        <Field Name="agencja">
312          <DataField>agencja</DataField>
313          <rd:TypeName>System.String</rd:TypeName>
314        </Field>
315      </Fields>
316      <Query>
317        <DataSourceName>BAZA_REKLAM</DataSourceName>
318        <CommandText>SELECT A.ID_AGENTA, A.Symbol, A2.Symbol agencja
319FROM AGENCI A left join Agencje A2
320on A.ID_AGENCJI = A2.ID_Agencji
321where  (A2.ID_Agencji in (@agencja))
322and a.aktywny=1
323union
324select NULL,'Wszyscy','costam'
325order by A.Symbol</CommandText>
326        <QueryParameters>
327          <QueryParameter Name="@agencja">
328            <Value>=Parameters!agencja.Value</Value>
329          </QueryParameter>
330        </QueryParameters>
331        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
332      </Query>
333    </DataSet>
334    <DataSet Name="ListaGrzebietow">
335      <Fields>
336        <Field Name="ID">
337          <DataField>ID</DataField>
338          <rd:TypeName>System.Int32</rd:TypeName>
339        </Field>
340        <Field Name="Nazwa">
341          <DataField>Nazwa</DataField>
342          <rd:TypeName>System.String</rd:TypeName>
343        </Field>
344      </Fields>
345      <Query>
346        <DataSourceName>BAZA_REKLAM</DataSourceName>
347        <CommandText>SELECT        ID, Nazwa
348FROM            GRZBIETY
349WHERE Active=1 AND TytulId=@tytul
350ORDER BY Nazwa</CommandText>
351        <QueryParameters>
352          <QueryParameter Name="@tytul">
353            <Value>=Parameters!tytul.Value</Value>
354          </QueryParameter>
355        </QueryParameters>
356        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
357      </Query>
358    </DataSet>
359    <DataSet Name="ListaDzialow">
360      <Fields>
361        <Field Name="Id">
362          <DataField>Id</DataField>
363          <rd:TypeName>System.Int32</rd:TypeName>
364        </Field>
365        <Field Name="Name">
366          <DataField>Name</DataField>
367          <rd:TypeName>System.String</rd:TypeName>
368        </Field>
369      </Fields>
370      <Query>
371        <DataSourceName>BAZA_REKLAM</DataSourceName>
372        <CommandText>DECLARE @Dzialy Table
373(
374   Id INT,
375   Name NVARCHAR(50)
376)
377
378INSERT INTO @Dzialy
379SELECT Id, Name FROM Dzial WHERE Active=1 AND TitleId=@tytul
380
381IF (SELECT COUNT(Id) FROM @Dzialy)&lt;1
382INSERT INTO @Dzialy
383SELECT 0, 'Wszystkie działy'
384
385SELECT * FROM @Dzialy</CommandText>
386        <QueryParameters>
387          <QueryParameter Name="@tytul">
388            <Value>=Parameters!tytul.Value</Value>
389          </QueryParameter>
390        </QueryParameters>
391        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
392      </Query>
393    </DataSet>
394  </DataSets>
395  <Code>Public Function GetMultiSelectLabels(P as Parameter) as String
396  Dim i As Integer
397  Dim s As String
398  s = p.Label(0)               
399  For i = 1 to Ubound(P.Value)
400    s = s + ", " + p.Label(i)
401  Next i
402  Return s
403End Function</Code>
404  <Width>18.97646cm</Width>
405  <Body>
406    <ColumnSpacing>1cm</ColumnSpacing>
407    <ReportItems>
408      <Textbox Name="textbox4">
409        <Top>1.05cm</Top>
410        <Width>2.55cm</Width>
411        <Style>
412          <FontSize>12pt</FontSize>
413          <FontWeight>700</FontWeight>
414          <Format>d</Format>
415          <TextAlign>Left</TextAlign>
416          <PaddingLeft>2pt</PaddingLeft>
417          <PaddingRight>2pt</PaddingRight>
418          <PaddingTop>2pt</PaddingTop>
419          <PaddingBottom>2pt</PaddingBottom>
420          <Language>pl-PL</Language>
421        </Style>
422        <ZIndex>4</ZIndex>
423        <CanGrow>true</CanGrow>
424        <Height>0.75cm</Height>
425        <Value>Grzbiet(y):</Value>
426      </Textbox>
427      <Textbox Name="textbox6">
428        <Top>0.3cm</Top>
429        <Width>3cm</Width>
430        <Style>
431          <FontSize>12pt</FontSize>
432          <FontWeight>700</FontWeight>
433          <Format>d</Format>
434          <TextAlign>Left</TextAlign>
435          <PaddingLeft>2pt</PaddingLeft>
436          <PaddingRight>2pt</PaddingRight>
437          <PaddingTop>2pt</PaddingTop>
438          <PaddingBottom>2pt</PaddingBottom>
439          <Language>pl-PL</Language>
440        </Style>
441        <ZIndex>3</ZIndex>
442        <CanGrow>true</CanGrow>
443        <Left>15.9cm</Left>
444        <Height>0.75cm</Height>
445        <Value>=Today</Value>
446      </Textbox>
447      <Textbox Name="textbox5">
448        <Top>1.05cm</Top>
449        <Width>16.35cm</Width>
450        <Style>
451          <FontSize>12pt</FontSize>
452          <Format>d</Format>
453          <TextAlign>Left</TextAlign>
454          <PaddingLeft>2pt</PaddingLeft>
455          <PaddingRight>2pt</PaddingRight>
456          <PaddingTop>2pt</PaddingTop>
457          <PaddingBottom>2pt</PaddingBottom>
458          <Language>pl-PL</Language>
459        </Style>
460        <ZIndex>2</ZIndex>
461        <CanGrow>true</CanGrow>
462        <Left>2.55cm</Left>
463        <Height>0.75cm</Height>
464        <Value>=Code.GetMultiSelectLabels(Parameters!grzbiet)</Value>
465      </Textbox>
466      <Textbox Name="textbox17">
467        <rd:DefaultName>textbox17</rd:DefaultName>
468        <Top>0.25cm</Top>
469        <Width>11.5cm</Width>
470        <Style>
471          <FontSize>14pt</FontSize>
472          <FontWeight>700</FontWeight>
473          <TextAlign>Left</TextAlign>
474          <PaddingLeft>2pt</PaddingLeft>
475          <PaddingRight>2pt</PaddingRight>
476          <PaddingTop>2pt</PaddingTop>
477          <PaddingBottom>2pt</PaddingBottom>
478          <Language>pl-PL</Language>
479        </Style>
480        <ZIndex>1</ZIndex>
481        <CanGrow>true</CanGrow>
482        <Height>0.75cm</Height>
483        <Value>="LISTA REKLAM DO WYDANIA NR: " &amp; Parameters!tytul.Label &amp; " " &amp; Parameters!nrwydania.Value</Value>
484      </Textbox>
485      <Table Name="table1">
486        <DataSetName>ListaReklam</DataSetName>
487        <Top>1.95cm</Top>
488        <Details>
489          <TableRows>
490            <TableRow>
491              <TableCells>
492                <TableCell>
493                  <ReportItems>
494                    <Textbox Name="ID_REKLAMY">
495                      <rd:DefaultName>ID_REKLAMY</rd:DefaultName>
496                      <Style>
497                        <BorderColor>
498                          <Default>LightGrey</Default>
499                        </BorderColor>
500                        <BorderStyle>
501                          <Default>Solid</Default>
502                        </BorderStyle>
503                        <BorderWidth>
504                          <Default>0.5pt</Default>
505                        </BorderWidth>
506                        <FontSize>7pt</FontSize>
507                        <FontWeight>700</FontWeight>
508                        <TextAlign>Left</TextAlign>
509                        <VerticalAlign>Middle</VerticalAlign>
510                        <PaddingLeft>2pt</PaddingLeft>
511                        <PaddingRight>2pt</PaddingRight>
512                        <PaddingTop>2pt</PaddingTop>
513                        <PaddingBottom>2pt</PaddingBottom>
514                        <Language>pl-PL</Language>
515                      </Style>
516                      <ZIndex>9</ZIndex>
517                      <CanGrow>true</CanGrow>
518                      <Value>=Fields!ID_REKLAMY.Value</Value>
519                    </Textbox>
520                  </ReportItems>
521                </TableCell>
522                <TableCell>
523                  <ReportItems>
524                    <Textbox Name="SZER">
525                      <rd:DefaultName>SZER</rd:DefaultName>
526                      <Style>
527                        <BorderColor>
528                          <Default>LightGrey</Default>
529                        </BorderColor>
530                        <BorderStyle>
531                          <Default>Solid</Default>
532                        </BorderStyle>
533                        <BorderWidth>
534                          <Default>0.5pt</Default>
535                        </BorderWidth>
536                        <FontSize>7pt</FontSize>
537                        <FontWeight>700</FontWeight>
538                        <TextAlign>Center</TextAlign>
539                        <VerticalAlign>Middle</VerticalAlign>
540                        <PaddingLeft>2pt</PaddingLeft>
541                        <PaddingRight>2pt</PaddingRight>
542                        <PaddingTop>2pt</PaddingTop>
543                        <PaddingBottom>2pt</PaddingBottom>
544                        <Language>pl-PL</Language>
545                      </Style>
546                      <ZIndex>8</ZIndex>
547                      <CanGrow>true</CanGrow>
548                      <Value>=Fields!SZER.Value</Value>
549                    </Textbox>
550                  </ReportItems>
551                </TableCell>
552                <TableCell>
553                  <ReportItems>
554                    <Textbox Name="WYS">
555                      <rd:DefaultName>WYS</rd:DefaultName>
556                      <Style>
557                        <BorderColor>
558                          <Default>LightGrey</Default>
559                        </BorderColor>
560                        <BorderStyle>
561                          <Default>Solid</Default>
562                        </BorderStyle>
563                        <BorderWidth>
564                          <Default>0.5pt</Default>
565                        </BorderWidth>
566                        <FontSize>7pt</FontSize>
567                        <FontWeight>700</FontWeight>
568                        <TextAlign>Center</TextAlign>
569                        <VerticalAlign>Middle</VerticalAlign>
570                        <PaddingLeft>2pt</PaddingLeft>
571                        <PaddingRight>2pt</PaddingRight>
572                        <PaddingTop>2pt</PaddingTop>
573                        <PaddingBottom>2pt</PaddingBottom>
574                        <Language>pl-PL</Language>
575                      </Style>
576                      <ZIndex>7</ZIndex>
577                      <CanGrow>true</CanGrow>
578                      <Value>=Fields!WYS.Value</Value>
579                    </Textbox>
580                  </ReportItems>
581                </TableCell>
582                <TableCell>
583                  <ReportItems>
584                    <Textbox Name="ogl_dzial">
585                      <rd:DefaultName>ogl_dzial</rd:DefaultName>
586                      <Style>
587                        <BorderColor>
588                          <Default>LightGrey</Default>
589                        </BorderColor>
590                        <BorderStyle>
591                          <Default>Solid</Default>
592                        </BorderStyle>
593                        <BorderWidth>
594                          <Default>0.5pt</Default>
595                        </BorderWidth>
596                        <FontSize>7pt</FontSize>
597                        <TextAlign>Center</TextAlign>
598                        <VerticalAlign>Middle</VerticalAlign>
599                        <PaddingLeft>2pt</PaddingLeft>
600                        <PaddingRight>2pt</PaddingRight>
601                        <PaddingTop>2pt</PaddingTop>
602                        <PaddingBottom>2pt</PaddingBottom>
603                      </Style>
604                      <ZIndex>6</ZIndex>
605                      <CanGrow>true</CanGrow>
606                      <Value>=Fields!Dzial.Value</Value>
607                    </Textbox>
608                  </ReportItems>
609                </TableCell>
610                <TableCell>
611                  <ReportItems>
612                    <Textbox Name="ogl_rozdzial">
613                      <rd:DefaultName>ogl_rozdzial</rd:DefaultName>
614                      <Style>
615                        <BorderColor>
616                          <Default>LightGrey</Default>
617                        </BorderColor>
618                        <BorderStyle>
619                          <Default>Solid</Default>
620                        </BorderStyle>
621                        <BorderWidth>
622                          <Default>0.5pt</Default>
623                        </BorderWidth>
624                        <FontSize>7pt</FontSize>
625                        <TextAlign>Center</TextAlign>
626                        <VerticalAlign>Middle</VerticalAlign>
627                        <PaddingLeft>2pt</PaddingLeft>
628                        <PaddingRight>2pt</PaddingRight>
629                        <PaddingTop>2pt</PaddingTop>
630                        <PaddingBottom>2pt</PaddingBottom>
631                      </Style>
632                      <ZIndex>5</ZIndex>
633                      <CanGrow>true</CanGrow>
634                      <Value>=Fields!Rozdzial.Value</Value>
635                    </Textbox>
636                  </ReportItems>
637                </TableCell>
638                <TableCell>
639                  <ReportItems>
640                    <Textbox Name="lokalizacja">
641                      <rd:DefaultName>lokalizacja</rd:DefaultName>
642                      <Style>
643                        <BorderColor>
644                          <Default>LightGrey</Default>
645                        </BorderColor>
646                        <BorderStyle>
647                          <Default>Solid</Default>
648                        </BorderStyle>
649                        <BorderWidth>
650                          <Default>0.5pt</Default>
651                        </BorderWidth>
652                        <FontSize>7pt</FontSize>
653                        <TextAlign>Center</TextAlign>
654                        <VerticalAlign>Middle</VerticalAlign>
655                        <PaddingLeft>2pt</PaddingLeft>
656                        <PaddingRight>2pt</PaddingRight>
657                        <PaddingTop>2pt</PaddingTop>
658                        <PaddingBottom>2pt</PaddingBottom>
659                        <Language>pl-PL</Language>
660                      </Style>
661                      <ZIndex>4</ZIndex>
662                      <CanGrow>true</CanGrow>
663                      <Value>=Fields!lokalizacja1.Value</Value>
664                    </Textbox>
665                  </ReportItems>
666                </TableCell>
667                <TableCell>
668                  <ReportItems>
669                    <Textbox Name="textbox16">
670                      <Style>
671                        <BorderColor>
672                          <Default>LightGrey</Default>
673                        </BorderColor>
674                        <BorderStyle>
675                          <Default>Solid</Default>
676                        </BorderStyle>
677                        <BorderWidth>
678                          <Default>0.5pt</Default>
679                        </BorderWidth>
680                        <FontSize>7pt</FontSize>
681                        <TextAlign>Center</TextAlign>
682                        <VerticalAlign>Middle</VerticalAlign>
683                        <PaddingLeft>2pt</PaddingLeft>
684                        <PaddingRight>2pt</PaddingRight>
685                        <PaddingTop>2pt</PaddingTop>
686                        <PaddingBottom>2pt</PaddingBottom>
687                        <Language>pl-PL</Language>
688                      </Style>
689                      <ZIndex>3</ZIndex>
690                      <CanGrow>true</CanGrow>
691                      <Value>=Fields!lokalizacja.Value</Value>
692                    </Textbox>
693                  </ReportItems>
694                </TableCell>
695                <TableCell>
696                  <ReportItems>
697                    <Textbox Name="textbox20">
698                      <rd:DefaultName>textbox20</rd:DefaultName>
699                      <Style>
700                        <BorderColor>
701                          <Default>LightGrey</Default>
702                        </BorderColor>
703                        <BorderStyle>
704                          <Default>Solid</Default>
705                        </BorderStyle>
706                        <BorderWidth>
707                          <Default>0.5pt</Default>
708                        </BorderWidth>
709                        <FontSize>7pt</FontSize>
710                        <TextAlign>Center</TextAlign>
711                        <VerticalAlign>Middle</VerticalAlign>
712                        <PaddingLeft>2pt</PaddingLeft>
713                        <PaddingRight>2pt</PaddingRight>
714                        <PaddingTop>2pt</PaddingTop>
715                        <PaddingBottom>2pt</PaddingBottom>
716                      </Style>
717                      <ZIndex>2</ZIndex>
718                      <CanGrow>true</CanGrow>
719                      <Value>=Left(Fields!NICK_NAME.Value,15)</Value>
720                    </Textbox>
721                  </ReportItems>
722                </TableCell>
723                <TableCell>
724                  <ReportItems>
725                    <Textbox Name="MOD_TYP">
726                      <rd:DefaultName>MOD_TYP</rd:DefaultName>
727                      <Style>
728                        <BorderColor>
729                          <Default>LightGrey</Default>
730                        </BorderColor>
731                        <BorderStyle>
732                          <Default>Solid</Default>
733                        </BorderStyle>
734                        <BorderWidth>
735                          <Default>0.5pt</Default>
736                        </BorderWidth>
737                        <FontSize>7pt</FontSize>
738                        <TextAlign>Center</TextAlign>
739                        <VerticalAlign>Middle</VerticalAlign>
740                        <PaddingLeft>2pt</PaddingLeft>
741                        <PaddingRight>2pt</PaddingRight>
742                        <PaddingTop>2pt</PaddingTop>
743                        <PaddingBottom>2pt</PaddingBottom>
744                        <Language>pl-PL</Language>
745                      </Style>
746                      <ZIndex>1</ZIndex>
747                      <CanGrow>true</CanGrow>
748                      <Value>=Fields!MOD_TYP.Value</Value>
749                    </Textbox>
750                  </ReportItems>
751                </TableCell>
752                <TableCell>
753                  <ReportItems>
754                    <Textbox Name="ID_GRZBIETU">
755                      <rd:DefaultName>ID_GRZBIETU</rd:DefaultName>
756                      <Style>
757                        <BorderColor>
758                          <Default>LightGrey</Default>
759                        </BorderColor>
760                        <BorderStyle>
761                          <Default>Solid</Default>
762                        </BorderStyle>
763                        <BorderWidth>
764                          <Default>0.5pt</Default>
765                        </BorderWidth>
766                        <FontSize>7pt</FontSize>
767                        <TextAlign>Center</TextAlign>
768                        <VerticalAlign>Middle</VerticalAlign>
769                        <PaddingLeft>2pt</PaddingLeft>
770                        <PaddingRight>2pt</PaddingRight>
771                        <PaddingTop>2pt</PaddingTop>
772                        <PaddingBottom>2pt</PaddingBottom>
773                        <Language>pl-PL</Language>
774                      </Style>
775                      <CanGrow>true</CanGrow>
776                      <Value>=Fields!STRONA.Value</Value>
777                    </Textbox>
778                  </ReportItems>
779                </TableCell>
780              </TableCells>
781              <Height>0.5cm</Height>
782            </TableRow>
783          </TableRows>
784          <Sorting>
785            <SortBy>
786              <SortExpression>=iif(Parameters!sortuj.Value=1,Fields!MOD_TYP.Value,Fields!ID_REKLAMY.Value)</SortExpression>
787              <Direction>Ascending</Direction>
788            </SortBy>
789          </Sorting>
790        </Details>
791        <Style>
792          <Language>pl-PL</Language>
793        </Style>
794        <Header>
795          <TableRows>
796            <TableRow>
797              <TableCells>
798                <TableCell>
799                  <ColSpan>5</ColSpan>
800                  <ReportItems>
801                    <Textbox Name="textbox37">
802                      <rd:DefaultName>textbox37</rd:DefaultName>
803                      <Style>
804                        <BackgroundColor>Gainsboro</BackgroundColor>
805                        <BorderColor>
806                          <Default>LightGrey</Default>
807                        </BorderColor>
808                        <BorderStyle>
809                          <Left>Solid</Left>
810                          <Right>None</Right>
811                          <Top>Solid</Top>
812                          <Bottom>Solid</Bottom>
813                        </BorderStyle>
814                        <BorderWidth>
815                          <Default>0.5pt</Default>
816                        </BorderWidth>
817                        <FontSize>7pt</FontSize>
818                        <FontWeight>700</FontWeight>
819                        <TextAlign>Center</TextAlign>
820                        <VerticalAlign>Middle</VerticalAlign>
821                        <PaddingLeft>2pt</PaddingLeft>
822                        <PaddingRight>2pt</PaddingRight>
823                        <PaddingTop>2pt</PaddingTop>
824                        <PaddingBottom>2pt</PaddingBottom>
825                        <Language>pl-PL</Language>
826                      </Style>
827                      <ZIndex>21</ZIndex>
828                      <CanGrow>true</CanGrow>
829                      <Value>=Count(Fields!ReklamaID.Value) &amp; " REK" &amp; "          " &amp; Sum(Fields!WYS.Value*Fields!SZER.Value) &amp; " MOD" &amp; "          " &amp; Round(Sum(Fields!WYS.Value*Fields!SZER.Value)/64) &amp; " stron"</Value>
830                    </Textbox>
831                  </ReportItems>
832                </TableCell>
833                <TableCell>
834                  <ColSpan>5</ColSpan>
835                  <ReportItems>
836                    <Textbox Name="textbox24">
837                      <rd:DefaultName>textbox24</rd:DefaultName>
838                      <Style>
839                        <BackgroundColor>Gainsboro</BackgroundColor>
840                        <BorderColor>
841                          <Default>LightGrey</Default>
842                        </BorderColor>
843                        <BorderStyle>
844                          <Left>None</Left>
845                          <Right>Solid</Right>
846                          <Top>Solid</Top>
847                          <Bottom>Solid</Bottom>
848                        </BorderStyle>
849                        <BorderWidth>
850                          <Default>0.5pt</Default>
851                        </BorderWidth>
852                        <FontSize>7pt</FontSize>
853                        <FontWeight>700</FontWeight>
854                        <Format>C</Format>
855                        <TextAlign>Center</TextAlign>
856                        <VerticalAlign>Middle</VerticalAlign>
857                        <PaddingLeft>2pt</PaddingLeft>
858                        <PaddingRight>2pt</PaddingRight>
859                        <PaddingTop>2pt</PaddingTop>
860                        <PaddingBottom>2pt</PaddingBottom>
861                      </Style>
862                      <ZIndex>20</ZIndex>
863                      <CanGrow>true</CanGrow>
864                      <Value>=Sum(Fields!CENA_JEDN.Value) - Sum(Fields!RABAT_WARTOŚĆ.Value)</Value>
865                    </Textbox>
866                  </ReportItems>
867                </TableCell>
868              </TableCells>
869              <Height>0.63492cm</Height>
870            </TableRow>
871            <TableRow>
872              <TableCells>
873                <TableCell>
874                  <ReportItems>
875                    <Textbox Name="textbox25">
876                      <rd:DefaultName>textbox25</rd:DefaultName>
877                      <Style>
878                        <BackgroundColor>WhiteSmoke</BackgroundColor>
879                        <BorderColor>
880                          <Default>LightGrey</Default>
881                        </BorderColor>
882                        <BorderStyle>
883                          <Default>Solid</Default>
884                        </BorderStyle>
885                        <BorderWidth>
886                          <Default>0.5pt</Default>
887                        </BorderWidth>
888                        <FontSize>7pt</FontSize>
889                        <FontWeight>700</FontWeight>
890                        <TextAlign>Center</TextAlign>
891                        <VerticalAlign>Middle</VerticalAlign>
892                        <PaddingLeft>2pt</PaddingLeft>
893                        <PaddingRight>2pt</PaddingRight>
894                        <PaddingTop>2pt</PaddingTop>
895                        <PaddingBottom>2pt</PaddingBottom>
896                        <Language>pl-PL</Language>
897                      </Style>
898                      <ZIndex>19</ZIndex>
899                      <CanGrow>true</CanGrow>
900                      <Value>Symbol </Value>
901                    </Textbox>
902                  </ReportItems>
903                </TableCell>
904                <TableCell>
905                  <ReportItems>
906                    <Textbox Name="textbox22">
907                      <rd:DefaultName>textbox22</rd:DefaultName>
908                      <Style>
909                        <BackgroundColor>WhiteSmoke</BackgroundColor>
910                        <BorderColor>
911                          <Default>LightGrey</Default>
912                        </BorderColor>
913                        <BorderStyle>
914                          <Default>Solid</Default>
915                        </BorderStyle>
916                        <BorderWidth>
917                          <Default>0.5pt</Default>
918                        </BorderWidth>
919                        <FontSize>7pt</FontSize>
920                        <FontWeight>700</FontWeight>
921                        <TextAlign>Center</TextAlign>
922                        <VerticalAlign>Middle</VerticalAlign>
923                        <PaddingLeft>2pt</PaddingLeft>
924                        <PaddingRight>2pt</PaddingRight>
925                        <PaddingTop>2pt</PaddingTop>
926                        <PaddingBottom>2pt</PaddingBottom>
927                        <Language>pl-PL</Language>
928                      </Style>
929                      <ZIndex>18</ZIndex>
930                      <CanGrow>true</CanGrow>
931                      <Value>S</Value>
932                    </Textbox>
933                  </ReportItems>
934                </TableCell>
935                <TableCell>
936                  <ReportItems>
937                    <Textbox Name="textbox19">
938                      <rd:DefaultName>textbox19</rd:DefaultName>
939                      <Style>
940                        <BackgroundColor>WhiteSmoke</BackgroundColor>
941                        <BorderColor>
942                          <Default>LightGrey</Default>
943                        </BorderColor>
944                        <BorderStyle>
945                          <Default>Solid</Default>
946                        </BorderStyle>
947                        <BorderWidth>
948                          <Default>0.5pt</Default>
949                        </BorderWidth>
950                        <FontSize>7pt</FontSize>
951                        <FontWeight>700</FontWeight>
952                        <TextAlign>Center</TextAlign>
953                        <VerticalAlign>Middle</VerticalAlign>
954                        <PaddingLeft>2pt</PaddingLeft>
955                        <PaddingRight>2pt</PaddingRight>
956                        <PaddingTop>2pt</PaddingTop>
957                        <PaddingBottom>2pt</PaddingBottom>
958                        <Language>pl-PL</Language>
959                      </Style>
960                      <ZIndex>17</ZIndex>
961                      <CanGrow>true</CanGrow>
962                      <Value>W</Value>
963                    </Textbox>
964                  </ReportItems>
965                </TableCell>
966                <TableCell>
967                  <ReportItems>
968                    <Textbox Name="textbox26">
969                      <rd:DefaultName>textbox26</rd:DefaultName>
970                      <Style>
971                        <BackgroundColor>WhiteSmoke</BackgroundColor>
972                        <BorderColor>
973                          <Default>LightGrey</Default>
974                        </BorderColor>
975                        <BorderStyle>
976                          <Default>Solid</Default>
977                        </BorderStyle>
978                        <BorderWidth>
979                          <Default>0.5pt</Default>
980                        </BorderWidth>
981                        <FontSize>7pt</FontSize>
982                        <FontWeight>700</FontWeight>
983                        <TextAlign>Center</TextAlign>
984                        <VerticalAlign>Middle</VerticalAlign>
985                        <PaddingLeft>2pt</PaddingLeft>
986                        <PaddingRight>2pt</PaddingRight>
987                        <PaddingTop>2pt</PaddingTop>
988                        <PaddingBottom>2pt</PaddingBottom>
989                      </Style>
990                      <ZIndex>16</ZIndex>
991                      <CanGrow>true</CanGrow>
992                      <Value>Dział</Value>
993                    </Textbox>
994                  </ReportItems>
995                </TableCell>
996                <TableCell>
997                  <ReportItems>
998                    <Textbox Name="textbox21">
999                      <rd:DefaultName>textbox21</rd:DefaultName>
1000                      <Style>
1001                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1002                        <BorderColor>
1003                          <Default>LightGrey</Default>
1004                        </BorderColor>
1005                        <BorderStyle>
1006                          <Default>Solid</Default>
1007                        </BorderStyle>
1008                        <BorderWidth>
1009                          <Default>0.5pt</Default>
1010                        </BorderWidth>
1011                        <FontSize>7pt</FontSize>
1012                        <FontWeight>700</FontWeight>
1013                        <TextAlign>Center</TextAlign>
1014                        <VerticalAlign>Middle</VerticalAlign>
1015                        <PaddingLeft>2pt</PaddingLeft>
1016                        <PaddingRight>2pt</PaddingRight>
1017                        <PaddingTop>2pt</PaddingTop>
1018                        <PaddingBottom>2pt</PaddingBottom>
1019                      </Style>
1020                      <ZIndex>15</ZIndex>
1021                      <CanGrow>true</CanGrow>
1022                      <Value>Roz</Value>
1023                    </Textbox>
1024                  </ReportItems>
1025                </TableCell>
1026                <TableCell>
1027                  <ReportItems>
1028                    <Textbox Name="textbox10">
1029                      <rd:DefaultName>textbox10</rd:DefaultName>
1030                      <Style>
1031                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1032                        <BorderColor>
1033                          <Default>LightGrey</Default>
1034                        </BorderColor>
1035                        <BorderStyle>
1036                          <Default>Solid</Default>
1037                        </BorderStyle>
1038                        <BorderWidth>
1039                          <Default>0.5pt</Default>
1040                        </BorderWidth>
1041                        <FontSize>7pt</FontSize>
1042                        <FontWeight>700</FontWeight>
1043                        <TextAlign>Center</TextAlign>
1044                        <VerticalAlign>Middle</VerticalAlign>
1045                        <PaddingLeft>2pt</PaddingLeft>
1046                        <PaddingRight>2pt</PaddingRight>
1047                        <PaddingTop>2pt</PaddingTop>
1048                        <PaddingBottom>2pt</PaddingBottom>
1049                        <Language>pl-PL</Language>
1050                      </Style>
1051                      <ZIndex>14</ZIndex>
1052                      <CanGrow>true</CanGrow>
1053                      <Value>Lokalizacja</Value>
1054                    </Textbox>
1055                  </ReportItems>
1056                </TableCell>
1057                <TableCell>
1058                  <ReportItems>
1059                    <Textbox Name="textbox14">
1060                      <rd:DefaultName>textbox14</rd:DefaultName>
1061                      <Style>
1062                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1063                        <BorderColor>
1064                          <Default>LightGrey</Default>
1065                        </BorderColor>
1066                        <BorderStyle>
1067                          <Default>Solid</Default>
1068                        </BorderStyle>
1069                        <BorderWidth>
1070                          <Default>0.5pt</Default>
1071                        </BorderWidth>
1072                        <FontSize>7pt</FontSize>
1073                        <FontWeight>700</FontWeight>
1074                        <TextAlign>Center</TextAlign>
1075                        <VerticalAlign>Middle</VerticalAlign>
1076                        <PaddingLeft>2pt</PaddingLeft>
1077                        <PaddingRight>2pt</PaddingRight>
1078                        <PaddingTop>2pt</PaddingTop>
1079                        <PaddingBottom>2pt</PaddingBottom>
1080                      </Style>
1081                      <ZIndex>13</ZIndex>
1082                      <CanGrow>true</CanGrow>
1083                      <Value>Uwagi</Value>
1084                    </Textbox>
1085                  </ReportItems>
1086                </TableCell>
1087                <TableCell>
1088                  <ReportItems>
1089                    <Textbox Name="textbox9">
1090                      <rd:DefaultName>textbox9</rd:DefaultName>
1091                      <Style>
1092                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1093                        <BorderColor>
1094                          <Default>LightGrey</Default>
1095                        </BorderColor>
1096                        <BorderStyle>
1097                          <Default>Solid</Default>
1098                        </BorderStyle>
1099                        <BorderWidth>
1100                          <Default>0.5pt</Default>
1101                        </BorderWidth>
1102                        <FontSize>7pt</FontSize>
1103                        <FontWeight>700</FontWeight>
1104                        <TextAlign>Center</TextAlign>
1105                        <VerticalAlign>Middle</VerticalAlign>
1106                        <PaddingLeft>2pt</PaddingLeft>
1107                        <PaddingRight>2pt</PaddingRight>
1108                        <PaddingTop>2pt</PaddingTop>
1109                        <PaddingBottom>2pt</PaddingBottom>
1110                      </Style>
1111                      <ZIndex>12</ZIndex>
1112                      <CanGrow>true</CanGrow>
1113                      <Value>Klient</Value>
1114                    </Textbox>
1115                  </ReportItems>
1116                </TableCell>
1117                <TableCell>
1118                  <ReportItems>
1119                    <Textbox Name="textbox2">
1120                      <rd:DefaultName>textbox2</rd:DefaultName>
1121                      <Style>
1122                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1123                        <BorderColor>
1124                          <Default>LightGrey</Default>
1125                        </BorderColor>
1126                        <BorderStyle>
1127                          <Default>Solid</Default>
1128                        </BorderStyle>
1129                        <BorderWidth>
1130                          <Default>0.5pt</Default>
1131                        </BorderWidth>
1132                        <FontSize>7pt</FontSize>
1133                        <FontWeight>700</FontWeight>
1134                        <TextAlign>Center</TextAlign>
1135                        <VerticalAlign>Middle</VerticalAlign>
1136                        <PaddingLeft>2pt</PaddingLeft>
1137                        <PaddingRight>2pt</PaddingRight>
1138                        <PaddingTop>2pt</PaddingTop>
1139                        <PaddingBottom>2pt</PaddingBottom>
1140                        <Language>pl-PL</Language>
1141                      </Style>
1142                      <ZIndex>11</ZIndex>
1143                      <CanGrow>true</CanGrow>
1144                      <Value>Moduł</Value>
1145                    </Textbox>
1146                  </ReportItems>
1147                </TableCell>
1148                <TableCell>
1149                  <ReportItems>
1150                    <Textbox Name="textbox11">
1151                      <rd:DefaultName>textbox11</rd:DefaultName>
1152                      <Style>
1153                        <BackgroundColor>WhiteSmoke</BackgroundColor>
1154                        <BorderColor>
1155                          <Default>LightGrey</Default>
1156                        </BorderColor>
1157                        <BorderStyle>
1158                          <Default>Solid</Default>
1159                        </BorderStyle>
1160                        <BorderWidth>
1161                          <Default>0.5pt</Default>
1162                        </BorderWidth>
1163                        <FontSize>7pt</FontSize>
1164                        <FontWeight>700</FontWeight>
1165                        <TextAlign>Center</TextAlign>
1166                        <VerticalAlign>Middle</VerticalAlign>
1167                        <PaddingLeft>2pt</PaddingLeft>
1168                        <PaddingRight>2pt</PaddingRight>
1169                        <PaddingTop>2pt</PaddingTop>
1170                        <PaddingBottom>2pt</PaddingBottom>
1171                        <Language>pl-PL</Language>
1172                      </Style>
1173                      <ZIndex>10</ZIndex>
1174                      <CanGrow>true</CanGrow>
1175                      <Value>Str</Value>
1176                    </Textbox>
1177                  </ReportItems>
1178                </TableCell>
1179              </TableCells>
1180              <Height>0.5cm</Height>
1181            </TableRow>
1182          </TableRows>
1183        </Header>
1184        <TableColumns>
1185          <TableColumn>
1186            <Width>2cm</Width>
1187          </TableColumn>
1188          <TableColumn>
1189            <Width>0.5cm</Width>
1190          </TableColumn>
1191          <TableColumn>
1192            <Width>0.5cm</Width>
1193          </TableColumn>
1194          <TableColumn>
1195            <Width>3cm</Width>
1196          </TableColumn>
1197          <TableColumn>
1198            <Width>3cm</Width>
1199          </TableColumn>
1200          <TableColumn>
1201            <Width>2.7cm</Width>
1202          </TableColumn>
1203          <TableColumn>
1204            <Width>3cm</Width>
1205          </TableColumn>
1206          <TableColumn>
1207            <Width>2.25cm</Width>
1208          </TableColumn>
1209          <TableColumn>
1210            <Width>1.27646cm</Width>
1211          </TableColumn>
1212          <TableColumn>
1213            <Width>0.75cm</Width>
1214          </TableColumn>
1215        </TableColumns>
1216      </Table>
1217    </ReportItems>
1218    <Height>3.58492cm</Height>
1219  </Body>
1220  <Language>pl-PL</Language>
1221  <TopMargin>1cm</TopMargin>
1222  <PageHeight>29.7cm</PageHeight>
1223</Report>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.