root/branches/EdycjaKlienta/RaportySQL/ZmianyEmisjiWgSymbolu.rdl @ 692

Wersja 130, 21.4 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      <rd:DataSourceID>725f8f5e-49d7-4efb-9423-01672455d1cf</rd:DataSourceID>
6      <DataSourceReference>BAZA_REKLAM</DataSourceReference>
7    </DataSource>
8  </DataSources>
9  <InteractiveHeight>29.7cm</InteractiveHeight>
10  <ReportParameters>
11    <ReportParameter Name="idReklamy">
12      <DataType>String</DataType>
13      <Prompt>Symbol reklamy</Prompt>
14    </ReportParameter>
15  </ReportParameters>
16  <rd:DrawGrid>true</rd:DrawGrid>
17  <InteractiveWidth>21cm</InteractiveWidth>
18  <rd:GridSpacing>0.25cm</rd:GridSpacing>
19  <rd:SnapToGrid>true</rd:SnapToGrid>
20  <RightMargin>1cm</RightMargin>
21  <LeftMargin>1cm</LeftMargin>
22  <BottomMargin>1cm</BottomMargin>
23  <rd:ReportID>148fbe68-8d7c-4edb-aa19-73b167b83678</rd:ReportID>
24  <PageWidth>21cm</PageWidth>
25  <DataSets>
26    <DataSet Name="Zmiany">
27      <Fields>
28        <Field Name="idFaktury">
29          <DataField>idFaktury</DataField>
30          <rd:TypeName>System.Int32</rd:TypeName>
31        </Field>
32        <Field Name="NrFaktury">
33          <DataField>NrFaktury</DataField>
34          <rd:TypeName>System.String</rd:TypeName>
35        </Field>
36        <Field Name="reklamaId">
37          <DataField>reklamaId</DataField>
38          <rd:TypeName>System.Int32</rd:TypeName>
39        </Field>
40        <Field Name="id_reklamy">
41          <DataField>id reklamy</DataField>
42          <rd:TypeName>System.String</rd:TypeName>
43        </Field>
44        <Field Name="idZamowienia">
45          <DataField>idZamowienia</DataField>
46          <rd:TypeName>System.Int32</rd:TypeName>
47        </Field>
48        <Field Name="nrWyd">
49          <DataField>nrWyd</DataField>
50          <rd:TypeName>System.Int16</rd:TypeName>
51        </Field>
52        <Field Name="dataZmiany">
53          <DataField>dataZmiany</DataField>
54          <rd:TypeName>System.DateTime</rd:TypeName>
55        </Field>
56        <Field Name="netto">
57          <DataField>netto</DataField>
58          <rd:TypeName>System.Decimal</rd:TypeName>
59        </Field>
60        <Field Name="DATA_W">
61          <DataField>DATA_W</DataField>
62          <rd:TypeName>System.DateTime</rd:TypeName>
63        </Field>
64      </Fields>
65      <Query>
66        <DataSourceName>BAZA_REKLAM</DataSourceName>
67        <CommandText>SELECT     idFaktury, NrFaktury, reklamaId, [id reklamy], idZamowienia, nrWyd, dataZmiany, netto, DATA_W
68FROM         VIEW_RAPORT_ZMIAN_EMISJI
69WHERE     ([id reklamy] LIKE '%' + @idReklamy + '%')
70ORDER BY dataZmiany</CommandText>
71        <QueryParameters>
72          <QueryParameter Name="@idReklamy">
73            <Value>=Parameters!idReklamy.Value</Value>
74          </QueryParameter>
75        </QueryParameters>
76      </Query>
77    </DataSet>
78  </DataSets>
79  <Code />
80  <Width>19cm</Width>
81  <Body>
82    <ColumnSpacing>1cm</ColumnSpacing>
83    <ReportItems>
84      <Table Name="table1">
85        <DataSetName>Zmiany</DataSetName>
86        <Top>0.25cm</Top>
87        <Width>18.52645cm</Width>
88        <Details>
89          <TableRows>
90            <TableRow>
91              <TableCells>
92                <TableCell>
93                  <ReportItems>
94                    <Textbox Name="textbox4">
95                      <rd:DefaultName>textbox4</rd:DefaultName>
96                      <Style>
97                        <BorderColor>
98                          <Default>LightGrey</Default>
99                        </BorderColor>
100                        <BorderStyle>
101                          <Default>Solid</Default>
102                        </BorderStyle>
103                        <BorderWidth>
104                          <Default>0.5pt</Default>
105                        </BorderWidth>
106                        <TextAlign>Center</TextAlign>
107                        <PaddingLeft>2pt</PaddingLeft>
108                        <PaddingRight>2pt</PaddingRight>
109                        <PaddingTop>2pt</PaddingTop>
110                        <PaddingBottom>2pt</PaddingBottom>
111                      </Style>
112                      <ZIndex>6</ZIndex>
113                      <CanGrow>true</CanGrow>
114                      <Value>=Rownumber("Zmiany")</Value>
115                    </Textbox>
116                  </ReportItems>
117                </TableCell>
118                <TableCell>
119                  <ReportItems>
120                    <Textbox Name="dataZmiany">
121                      <rd:DefaultName>dataZmiany</rd:DefaultName>
122                      <Style>
123                        <BorderColor>
124                          <Default>LightGrey</Default>
125                        </BorderColor>
126                        <BorderStyle>
127                          <Default>Solid</Default>
128                        </BorderStyle>
129                        <BorderWidth>
130                          <Default>0.5pt</Default>
131                        </BorderWidth>
132                        <Format>h</Format>
133                        <TextAlign>Center</TextAlign>
134                        <PaddingLeft>2pt</PaddingLeft>
135                        <PaddingRight>2pt</PaddingRight>
136                        <PaddingTop>2pt</PaddingTop>
137                        <PaddingBottom>2pt</PaddingBottom>
138                        <Language>pl</Language>
139                      </Style>
140                      <ZIndex>5</ZIndex>
141                      <CanGrow>true</CanGrow>
142                      <Value>=Fields!dataZmiany.Value</Value>
143                    </Textbox>
144                  </ReportItems>
145                </TableCell>
146                <TableCell>
147                  <ReportItems>
148                    <Textbox Name="NrFaktury">
149                      <rd:DefaultName>NrFaktury</rd:DefaultName>
150                      <Style>
151                        <BorderColor>
152                          <Default>LightGrey</Default>
153                        </BorderColor>
154                        <BorderStyle>
155                          <Default>Solid</Default>
156                        </BorderStyle>
157                        <BorderWidth>
158                          <Default>0.5pt</Default>
159                        </BorderWidth>
160                        <TextAlign>Center</TextAlign>
161                        <PaddingLeft>2pt</PaddingLeft>
162                        <PaddingRight>2pt</PaddingRight>
163                        <PaddingTop>2pt</PaddingTop>
164                        <PaddingBottom>2pt</PaddingBottom>
165                      </Style>
166                      <ZIndex>4</ZIndex>
167                      <CanGrow>true</CanGrow>
168                      <Value>=Fields!NrFaktury.Value</Value>
169                    </Textbox>
170                  </ReportItems>
171                </TableCell>
172                <TableCell>
173                  <ReportItems>
174                    <Textbox Name="id_reklamy">
175                      <rd:DefaultName>id_reklamy</rd:DefaultName>
176                      <Style>
177                        <BorderColor>
178                          <Default>LightGrey</Default>
179                        </BorderColor>
180                        <BorderStyle>
181                          <Default>Solid</Default>
182                        </BorderStyle>
183                        <BorderWidth>
184                          <Default>0.5pt</Default>
185                        </BorderWidth>
186                        <TextAlign>Center</TextAlign>
187                        <PaddingLeft>2pt</PaddingLeft>
188                        <PaddingRight>2pt</PaddingRight>
189                        <PaddingTop>2pt</PaddingTop>
190                        <PaddingBottom>2pt</PaddingBottom>
191                      </Style>
192                      <ZIndex>3</ZIndex>
193                      <CanGrow>true</CanGrow>
194                      <Value>=Fields!id_reklamy.Value</Value>
195                    </Textbox>
196                  </ReportItems>
197                </TableCell>
198                <TableCell>
199                  <ReportItems>
200                    <Textbox Name="nrWyd">
201                      <rd:DefaultName>nrWyd</rd:DefaultName>
202                      <Style>
203                        <BorderColor>
204                          <Default>LightGrey</Default>
205                        </BorderColor>
206                        <BorderStyle>
207                          <Default>Solid</Default>
208                        </BorderStyle>
209                        <BorderWidth>
210                          <Default>0.5pt</Default>
211                        </BorderWidth>
212                        <TextAlign>Center</TextAlign>
213                        <PaddingLeft>2pt</PaddingLeft>
214                        <PaddingRight>2pt</PaddingRight>
215                        <PaddingTop>2pt</PaddingTop>
216                        <PaddingBottom>2pt</PaddingBottom>
217                      </Style>
218                      <ZIndex>2</ZIndex>
219                      <CanGrow>true</CanGrow>
220                      <Value>=Fields!nrWyd.Value</Value>
221                    </Textbox>
222                  </ReportItems>
223                </TableCell>
224                <TableCell>
225                  <ReportItems>
226                    <Textbox Name="DATA_W">
227                      <rd:DefaultName>DATA_W</rd:DefaultName>
228                      <Style>
229                        <BorderColor>
230                          <Default>LightGrey</Default>
231                        </BorderColor>
232                        <BorderStyle>
233                          <Default>Solid</Default>
234                        </BorderStyle>
235                        <BorderWidth>
236                          <Default>0.5pt</Default>
237                        </BorderWidth>
238                        <Format>d</Format>
239                        <TextAlign>Center</TextAlign>
240                        <PaddingLeft>2pt</PaddingLeft>
241                        <PaddingRight>2pt</PaddingRight>
242                        <PaddingTop>2pt</PaddingTop>
243                        <PaddingBottom>2pt</PaddingBottom>
244                        <Language>pl</Language>
245                      </Style>
246                      <ZIndex>1</ZIndex>
247                      <CanGrow>true</CanGrow>
248                      <Value>=Fields!DATA_W.Value</Value>
249                    </Textbox>
250                  </ReportItems>
251                </TableCell>
252                <TableCell>
253                  <ReportItems>
254                    <Textbox Name="netto">
255                      <rd:DefaultName>netto</rd:DefaultName>
256                      <Style>
257                        <BorderColor>
258                          <Default>LightGrey</Default>
259                        </BorderColor>
260                        <BorderStyle>
261                          <Default>Solid</Default>
262                        </BorderStyle>
263                        <BorderWidth>
264                          <Default>0.5pt</Default>
265                        </BorderWidth>
266                        <Format>C</Format>
267                        <TextAlign>Center</TextAlign>
268                        <PaddingLeft>2pt</PaddingLeft>
269                        <PaddingRight>2pt</PaddingRight>
270                        <PaddingTop>2pt</PaddingTop>
271                        <PaddingBottom>2pt</PaddingBottom>
272                        <Language>pl</Language>
273                      </Style>
274                      <CanGrow>true</CanGrow>
275                      <Value>=Fields!netto.Value</Value>
276                    </Textbox>
277                  </ReportItems>
278                </TableCell>
279              </TableCells>
280              <Height>0.5cm</Height>
281            </TableRow>
282          </TableRows>
283        </Details>
284        <Header>
285          <TableRows>
286            <TableRow>
287              <TableCells>
288                <TableCell>
289                  <ReportItems>
290                    <Textbox Name="textbox1">
291                      <rd:DefaultName>textbox1</rd:DefaultName>
292                      <Style>
293                        <BackgroundColor>WhiteSmoke</BackgroundColor>
294                        <BorderColor>
295                          <Default>LightGrey</Default>
296                        </BorderColor>
297                        <BorderStyle>
298                          <Default>Solid</Default>
299                        </BorderStyle>
300                        <BorderWidth>
301                          <Default>0.5pt</Default>
302                        </BorderWidth>
303                        <FontWeight>700</FontWeight>
304                        <TextAlign>Center</TextAlign>
305                        <PaddingLeft>2pt</PaddingLeft>
306                        <PaddingRight>2pt</PaddingRight>
307                        <PaddingTop>2pt</PaddingTop>
308                        <PaddingBottom>2pt</PaddingBottom>
309                      </Style>
310                      <ZIndex>13</ZIndex>
311                      <CanGrow>true</CanGrow>
312                      <Value />
313                    </Textbox>
314                  </ReportItems>
315                </TableCell>
316                <TableCell>
317                  <ReportItems>
318                    <Textbox Name="textbox10">
319                      <rd:DefaultName>textbox10</rd:DefaultName>
320                      <Style>
321                        <BackgroundColor>WhiteSmoke</BackgroundColor>
322                        <BorderColor>
323                          <Default>LightGrey</Default>
324                        </BorderColor>
325                        <BorderStyle>
326                          <Default>Solid</Default>
327                        </BorderStyle>
328                        <BorderWidth>
329                          <Default>0.5pt</Default>
330                        </BorderWidth>
331                        <FontWeight>700</FontWeight>
332                        <TextAlign>Center</TextAlign>
333                        <PaddingLeft>2pt</PaddingLeft>
334                        <PaddingRight>2pt</PaddingRight>
335                        <PaddingTop>2pt</PaddingTop>
336                        <PaddingBottom>2pt</PaddingBottom>
337                      </Style>
338                      <ZIndex>12</ZIndex>
339                      <CanGrow>true</CanGrow>
340                      <Value>Data zmiany</Value>
341                    </Textbox>
342                  </ReportItems>
343                </TableCell>
344                <TableCell>
345                  <ReportItems>
346                    <Textbox Name="textbox2">
347                      <rd:DefaultName>textbox2</rd:DefaultName>
348                      <Style>
349                        <BackgroundColor>WhiteSmoke</BackgroundColor>
350                        <BorderColor>
351                          <Default>LightGrey</Default>
352                        </BorderColor>
353                        <BorderStyle>
354                          <Default>Solid</Default>
355                        </BorderStyle>
356                        <BorderWidth>
357                          <Default>0.5pt</Default>
358                        </BorderWidth>
359                        <FontWeight>700</FontWeight>
360                        <TextAlign>Center</TextAlign>
361                        <PaddingLeft>2pt</PaddingLeft>
362                        <PaddingRight>2pt</PaddingRight>
363                        <PaddingTop>2pt</PaddingTop>
364                        <PaddingBottom>2pt</PaddingBottom>
365                      </Style>
366                      <ZIndex>11</ZIndex>
367                      <CanGrow>true</CanGrow>
368                      <Value>Nr faktury</Value>
369                    </Textbox>
370                  </ReportItems>
371                </TableCell>
372                <TableCell>
373                  <ReportItems>
374                    <Textbox Name="textbox3">
375                      <rd:DefaultName>textbox3</rd:DefaultName>
376                      <Style>
377                        <BackgroundColor>WhiteSmoke</BackgroundColor>
378                        <BorderColor>
379                          <Default>LightGrey</Default>
380                        </BorderColor>
381                        <BorderStyle>
382                          <Default>Solid</Default>
383                        </BorderStyle>
384                        <BorderWidth>
385                          <Default>0.5pt</Default>
386                        </BorderWidth>
387                        <FontWeight>700</FontWeight>
388                        <TextAlign>Center</TextAlign>
389                        <PaddingLeft>2pt</PaddingLeft>
390                        <PaddingRight>2pt</PaddingRight>
391                        <PaddingTop>2pt</PaddingTop>
392                        <PaddingBottom>2pt</PaddingBottom>
393                      </Style>
394                      <ZIndex>10</ZIndex>
395                      <CanGrow>true</CanGrow>
396                      <Value>Reklama</Value>
397                    </Textbox>
398                  </ReportItems>
399                </TableCell>
400                <TableCell>
401                  <ReportItems>
402                    <Textbox Name="textbox9">
403                      <rd:DefaultName>textbox9</rd:DefaultName>
404                      <Style>
405                        <BackgroundColor>WhiteSmoke</BackgroundColor>
406                        <BorderColor>
407                          <Default>LightGrey</Default>
408                        </BorderColor>
409                        <BorderStyle>
410                          <Default>Solid</Default>
411                        </BorderStyle>
412                        <BorderWidth>
413                          <Default>0.5pt</Default>
414                        </BorderWidth>
415                        <FontWeight>700</FontWeight>
416                        <TextAlign>Center</TextAlign>
417                        <PaddingLeft>2pt</PaddingLeft>
418                        <PaddingRight>2pt</PaddingRight>
419                        <PaddingTop>2pt</PaddingTop>
420                        <PaddingBottom>2pt</PaddingBottom>
421                      </Style>
422                      <ZIndex>9</ZIndex>
423                      <CanGrow>true</CanGrow>
424                      <Value>Nr wyd.</Value>
425                    </Textbox>
426                  </ReportItems>
427                </TableCell>
428                <TableCell>
429                  <ReportItems>
430                    <Textbox Name="textbox5">
431                      <rd:DefaultName>textbox5</rd:DefaultName>
432                      <Style>
433                        <BackgroundColor>WhiteSmoke</BackgroundColor>
434                        <BorderColor>
435                          <Default>LightGrey</Default>
436                        </BorderColor>
437                        <BorderStyle>
438                          <Default>Solid</Default>
439                        </BorderStyle>
440                        <BorderWidth>
441                          <Default>0.5pt</Default>
442                        </BorderWidth>
443                        <FontWeight>700</FontWeight>
444                        <TextAlign>Center</TextAlign>
445                        <PaddingLeft>2pt</PaddingLeft>
446                        <PaddingRight>2pt</PaddingRight>
447                        <PaddingTop>2pt</PaddingTop>
448                        <PaddingBottom>2pt</PaddingBottom>
449                      </Style>
450                      <ZIndex>8</ZIndex>
451                      <CanGrow>true</CanGrow>
452                      <Value>Data wydania</Value>
453                    </Textbox>
454                  </ReportItems>
455                </TableCell>
456                <TableCell>
457                  <ReportItems>
458                    <Textbox Name="textbox7">
459                      <rd:DefaultName>textbox7</rd:DefaultName>
460                      <Style>
461                        <BackgroundColor>WhiteSmoke</BackgroundColor>
462                        <BorderColor>
463                          <Default>LightGrey</Default>
464                        </BorderColor>
465                        <BorderStyle>
466                          <Default>Solid</Default>
467                        </BorderStyle>
468                        <BorderWidth>
469                          <Default>0.5pt</Default>
470                        </BorderWidth>
471                        <FontWeight>700</FontWeight>
472                        <TextAlign>Center</TextAlign>
473                        <PaddingLeft>2pt</PaddingLeft>
474                        <PaddingRight>2pt</PaddingRight>
475                        <PaddingTop>2pt</PaddingTop>
476                        <PaddingBottom>2pt</PaddingBottom>
477                      </Style>
478                      <ZIndex>7</ZIndex>
479                      <CanGrow>true</CanGrow>
480                      <Value>Cena jedn. po rabacie</Value>
481                    </Textbox>
482                  </ReportItems>
483                </TableCell>
484              </TableCells>
485              <Height>0.5cm</Height>
486            </TableRow>
487          </TableRows>
488        </Header>
489        <TableColumns>
490          <TableColumn>
491            <Width>0.75cm</Width>
492          </TableColumn>
493          <TableColumn>
494            <Width>4.25cm</Width>
495          </TableColumn>
496          <TableColumn>
497            <Width>2.75cm</Width>
498          </TableColumn>
499          <TableColumn>
500            <Width>2.5cm</Width>
501          </TableColumn>
502          <TableColumn>
503            <Width>2.02645cm</Width>
504          </TableColumn>
505          <TableColumn>
506            <Width>2.5cm</Width>
507          </TableColumn>
508          <TableColumn>
509            <Width>3.75cm</Width>
510          </TableColumn>
511        </TableColumns>
512        <Height>1cm</Height>
513        <Left>0.25cm</Left>
514      </Table>
515    </ReportItems>
516    <Height>1.5cm</Height>
517  </Body>
518  <Language>en-US</Language>
519  <TopMargin>1cm</TopMargin>
520  <PageHeight>29.7cm</PageHeight>
521</Report>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.