root/branches/ReklamaReorganizacja/RaportySQL/ZestawienieKlienci.rdl @ 782

Wersja 130, 16.7 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>8a977134-c80e-42b0-a0b2-b347cf33f52d</rd:DataSourceID>
7    </DataSource>
8  </DataSources>
9  <BottomMargin>1cm</BottomMargin>
10  <RightMargin>1cm</RightMargin>
11  <PageWidth>21cm</PageWidth>
12  <rd:DrawGrid>true</rd:DrawGrid>
13  <InteractiveWidth>21cm</InteractiveWidth>
14  <rd:GridSpacing>0.25cm</rd:GridSpacing>
15  <rd:SnapToGrid>true</rd:SnapToGrid>
16  <Body>
17    <ColumnSpacing>1cm</ColumnSpacing>
18    <ReportItems>
19      <Table Name="table1">
20        <Left>2.25cm</Left>
21        <DataSetName>KlienciSumaZaplat</DataSetName>
22        <Top>0.5cm</Top>
23        <Width>13.25cm</Width>
24        <Details>
25          <TableRows>
26            <TableRow>
27              <TableCells>
28                <TableCell>
29                  <ReportItems>
30                    <Textbox Name="FirstName">
31                      <rd:DefaultName>FirstName</rd:DefaultName>
32                      <ZIndex>4</ZIndex>
33                      <Style>
34                        <BorderStyle>
35                          <Default>Solid</Default>
36                        </BorderStyle>
37                        <TextAlign>Center</TextAlign>
38                        <PaddingLeft>2pt</PaddingLeft>
39                        <BorderWidth>
40                          <Default>0.5pt</Default>
41                        </BorderWidth>
42                        <PaddingBottom>2pt</PaddingBottom>
43                        <FontSize>8pt</FontSize>
44                        <VerticalAlign>Middle</VerticalAlign>
45                        <BorderColor>
46                          <Default>LightGrey</Default>
47                        </BorderColor>
48                        <PaddingRight>2pt</PaddingRight>
49                        <PaddingTop>2pt</PaddingTop>
50                      </Style>
51                      <CanGrow>true</CanGrow>
52                      <Value>=Fields!FirstName.Value</Value>
53                    </Textbox>
54                  </ReportItems>
55                </TableCell>
56                <TableCell>
57                  <ReportItems>
58                    <Textbox Name="BRUTTO">
59                      <rd:DefaultName>BRUTTO</rd:DefaultName>
60                      <ZIndex>3</ZIndex>
61                      <Style>
62                        <BorderStyle>
63                          <Default>Solid</Default>
64                        </BorderStyle>
65                        <TextAlign>Center</TextAlign>
66                        <PaddingLeft>2pt</PaddingLeft>
67                        <BorderWidth>
68                          <Default>0.5pt</Default>
69                        </BorderWidth>
70                        <PaddingBottom>2pt</PaddingBottom>
71                        <FontSize>8pt</FontSize>
72                        <VerticalAlign>Middle</VerticalAlign>
73                        <Format>C</Format>
74                        <BorderColor>
75                          <Default>LightGrey</Default>
76                        </BorderColor>
77                        <PaddingRight>2pt</PaddingRight>
78                        <PaddingTop>2pt</PaddingTop>
79                        <Language>pl</Language>
80                      </Style>
81                      <CanGrow>true</CanGrow>
82                      <Value>=Fields!BRUTTO.Value</Value>
83                    </Textbox>
84                  </ReportItems>
85                </TableCell>
86                <TableCell>
87                  <ReportItems>
88                    <Textbox Name="ZAPLATY">
89                      <rd:DefaultName>ZAPLATY</rd:DefaultName>
90                      <ZIndex>2</ZIndex>
91                      <Style>
92                        <BorderStyle>
93                          <Default>Solid</Default>
94                        </BorderStyle>
95                        <TextAlign>Center</TextAlign>
96                        <PaddingLeft>2pt</PaddingLeft>
97                        <BorderWidth>
98                          <Default>0.5pt</Default>
99                        </BorderWidth>
100                        <PaddingBottom>2pt</PaddingBottom>
101                        <FontSize>8pt</FontSize>
102                        <VerticalAlign>Middle</VerticalAlign>
103                        <Format>C</Format>
104                        <BorderColor>
105                          <Default>LightGrey</Default>
106                        </BorderColor>
107                        <PaddingRight>2pt</PaddingRight>
108                        <PaddingTop>2pt</PaddingTop>
109                        <Language>pl</Language>
110                      </Style>
111                      <CanGrow>true</CanGrow>
112                      <Value>=Fields!ZAPLATY.Value</Value>
113                    </Textbox>
114                  </ReportItems>
115                </TableCell>
116                <TableCell>
117                  <ReportItems>
118                    <Textbox Name="ZALEGA">
119                      <rd:DefaultName>ZALEGA</rd:DefaultName>
120                      <ZIndex>1</ZIndex>
121                      <Style>
122                        <BorderStyle>
123                          <Default>Solid</Default>
124                        </BorderStyle>
125                        <TextAlign>Center</TextAlign>
126                        <PaddingLeft>2pt</PaddingLeft>
127                        <BorderWidth>
128                          <Default>0.5pt</Default>
129                        </BorderWidth>
130                        <PaddingBottom>2pt</PaddingBottom>
131                        <FontSize>8pt</FontSize>
132                        <VerticalAlign>Middle</VerticalAlign>
133                        <Format>C</Format>
134                        <BorderColor>
135                          <Default>LightGrey</Default>
136                        </BorderColor>
137                        <PaddingRight>2pt</PaddingRight>
138                        <PaddingTop>2pt</PaddingTop>
139                        <Language>pl</Language>
140                      </Style>
141                      <CanGrow>true</CanGrow>
142                      <Value>=Fields!ZALEGA.Value</Value>
143                    </Textbox>
144                  </ReportItems>
145                </TableCell>
146                <TableCell>
147                  <ReportItems>
148                    <Textbox Name="ILOSC">
149                      <rd:DefaultName>ILOSC</rd:DefaultName>
150                      <Style>
151                        <BorderStyle>
152                          <Default>Solid</Default>
153                        </BorderStyle>
154                        <TextAlign>Center</TextAlign>
155                        <PaddingLeft>2pt</PaddingLeft>
156                        <BorderWidth>
157                          <Default>0.5pt</Default>
158                        </BorderWidth>
159                        <PaddingBottom>2pt</PaddingBottom>
160                        <FontSize>8pt</FontSize>
161                        <VerticalAlign>Middle</VerticalAlign>
162                        <BorderColor>
163                          <Default>LightGrey</Default>
164                        </BorderColor>
165                        <PaddingRight>2pt</PaddingRight>
166                        <PaddingTop>2pt</PaddingTop>
167                      </Style>
168                      <CanGrow>true</CanGrow>
169                      <Value>=Fields!ILOSC.Value</Value>
170                    </Textbox>
171                  </ReportItems>
172                </TableCell>
173              </TableCells>
174              <Height>0.63492cm</Height>
175            </TableRow>
176          </TableRows>
177        </Details>
178        <Header>
179          <TableRows>
180            <TableRow>
181              <TableCells>
182                <TableCell>
183                  <ReportItems>
184                    <Textbox Name="textbox1">
185                      <rd:DefaultName>textbox1</rd:DefaultName>
186                      <ZIndex>9</ZIndex>
187                      <Style>
188                        <BorderStyle>
189                          <Default>Solid</Default>
190                        </BorderStyle>
191                        <TextAlign>Center</TextAlign>
192                        <PaddingLeft>2pt</PaddingLeft>
193                        <BorderWidth>
194                          <Default>0.5pt</Default>
195                        </BorderWidth>
196                        <PaddingBottom>2pt</PaddingBottom>
197                        <FontWeight>700</FontWeight>
198                        <FontSize>8pt</FontSize>
199                        <VerticalAlign>Middle</VerticalAlign>
200                        <BorderColor>
201                          <Default>LightGrey</Default>
202                        </BorderColor>
203                        <BackgroundColor>WhiteSmoke</BackgroundColor>
204                        <PaddingRight>2pt</PaddingRight>
205                        <PaddingTop>2pt</PaddingTop>
206                      </Style>
207                      <CanGrow>true</CanGrow>
208                      <Value>Klient</Value>
209                    </Textbox>
210                  </ReportItems>
211                </TableCell>
212                <TableCell>
213                  <ReportItems>
214                    <Textbox Name="textbox16">
215                      <rd:DefaultName>textbox16</rd:DefaultName>
216                      <ZIndex>8</ZIndex>
217                      <Style>
218                        <BorderStyle>
219                          <Default>Solid</Default>
220                        </BorderStyle>
221                        <TextAlign>Center</TextAlign>
222                        <PaddingLeft>2pt</PaddingLeft>
223                        <BorderWidth>
224                          <Default>0.5pt</Default>
225                        </BorderWidth>
226                        <PaddingBottom>2pt</PaddingBottom>
227                        <FontWeight>700</FontWeight>
228                        <FontSize>8pt</FontSize>
229                        <VerticalAlign>Middle</VerticalAlign>
230                        <BorderColor>
231                          <Default>LightGrey</Default>
232                        </BorderColor>
233                        <BackgroundColor>WhiteSmoke</BackgroundColor>
234                        <PaddingRight>2pt</PaddingRight>
235                        <PaddingTop>2pt</PaddingTop>
236                      </Style>
237                      <CanGrow>true</CanGrow>
238                      <Value>Brutto</Value>
239                    </Textbox>
240                  </ReportItems>
241                </TableCell>
242                <TableCell>
243                  <ReportItems>
244                    <Textbox Name="textbox13">
245                      <rd:DefaultName>textbox13</rd:DefaultName>
246                      <ZIndex>7</ZIndex>
247                      <Style>
248                        <BorderStyle>
249                          <Default>Solid</Default>
250                        </BorderStyle>
251                        <TextAlign>Center</TextAlign>
252                        <PaddingLeft>2pt</PaddingLeft>
253                        <BorderWidth>
254                          <Default>0.5pt</Default>
255                        </BorderWidth>
256                        <PaddingBottom>2pt</PaddingBottom>
257                        <FontWeight>700</FontWeight>
258                        <FontSize>8pt</FontSize>
259                        <VerticalAlign>Middle</VerticalAlign>
260                        <BorderColor>
261                          <Default>LightGrey</Default>
262                        </BorderColor>
263                        <BackgroundColor>WhiteSmoke</BackgroundColor>
264                        <PaddingRight>2pt</PaddingRight>
265                        <PaddingTop>2pt</PaddingTop>
266                      </Style>
267                      <CanGrow>true</CanGrow>
268                      <Value>Zapłata</Value>
269                    </Textbox>
270                  </ReportItems>
271                </TableCell>
272                <TableCell>
273                  <ReportItems>
274                    <Textbox Name="textbox10">
275                      <rd:DefaultName>textbox10</rd:DefaultName>
276                      <ZIndex>6</ZIndex>
277                      <Style>
278                        <BorderStyle>
279                          <Default>Solid</Default>
280                        </BorderStyle>
281                        <TextAlign>Center</TextAlign>
282                        <PaddingLeft>2pt</PaddingLeft>
283                        <BorderWidth>
284                          <Default>0.5pt</Default>
285                        </BorderWidth>
286                        <PaddingBottom>2pt</PaddingBottom>
287                        <FontWeight>700</FontWeight>
288                        <FontSize>8pt</FontSize>
289                        <VerticalAlign>Middle</VerticalAlign>
290                        <BorderColor>
291                          <Default>LightGrey</Default>
292                        </BorderColor>
293                        <BackgroundColor>WhiteSmoke</BackgroundColor>
294                        <PaddingRight>2pt</PaddingRight>
295                        <PaddingTop>2pt</PaddingTop>
296                      </Style>
297                      <CanGrow>true</CanGrow>
298                      <Value>Zalega</Value>
299                    </Textbox>
300                  </ReportItems>
301                </TableCell>
302                <TableCell>
303                  <ReportItems>
304                    <Textbox Name="textbox2">
305                      <rd:DefaultName>textbox2</rd:DefaultName>
306                      <ZIndex>5</ZIndex>
307                      <Style>
308                        <BorderStyle>
309                          <Default>Solid</Default>
310                        </BorderStyle>
311                        <TextAlign>Center</TextAlign>
312                        <PaddingLeft>2pt</PaddingLeft>
313                        <BorderWidth>
314                          <Default>0.5pt</Default>
315                        </BorderWidth>
316                        <PaddingBottom>2pt</PaddingBottom>
317                        <FontWeight>700</FontWeight>
318                        <FontSize>8pt</FontSize>
319                        <VerticalAlign>Middle</VerticalAlign>
320                        <BorderColor>
321                          <Default>LightGrey</Default>
322                        </BorderColor>
323                        <BackgroundColor>WhiteSmoke</BackgroundColor>
324                        <PaddingRight>2pt</PaddingRight>
325                        <PaddingTop>2pt</PaddingTop>
326                      </Style>
327                      <CanGrow>true</CanGrow>
328                      <Value>Ilość</Value>
329                    </Textbox>
330                  </ReportItems>
331                </TableCell>
332              </TableCells>
333              <Height>0.63492cm</Height>
334            </TableRow>
335          </TableRows>
336        </Header>
337        <TableColumns>
338          <TableColumn>
339            <Width>4cm</Width>
340          </TableColumn>
341          <TableColumn>
342            <Width>2.75cm</Width>
343          </TableColumn>
344          <TableColumn>
345            <Width>2.5cm</Width>
346          </TableColumn>
347          <TableColumn>
348            <Width>2cm</Width>
349          </TableColumn>
350          <TableColumn>
351            <Width>2cm</Width>
352          </TableColumn>
353        </TableColumns>
354        <Height>1.26984cm</Height>
355      </Table>
356    </ReportItems>
357    <Height>2cm</Height>
358  </Body>
359  <rd:ReportID>6f13c96e-ca34-48e3-a052-295c956e8b51</rd:ReportID>
360  <LeftMargin>1cm</LeftMargin>
361  <DataSets>
362    <DataSet Name="KlienciSumaZaplat">
363      <Query>
364        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
365        <CommandText>select K.FirstName, V.* from klienci_sumy_zaplat V
366left join dbo.KLIENCI K
367on V.CustomerID = K.CustomerID
368order by zaplaty desc</CommandText>
369        <DataSourceName>BAZA_REKLAM</DataSourceName>
370      </Query>
371      <Fields>
372        <Field Name="FirstName">
373          <rd:TypeName>System.String</rd:TypeName>
374          <DataField>FirstName</DataField>
375        </Field>
376        <Field Name="CustomerID">
377          <rd:TypeName>System.Int32</rd:TypeName>
378          <DataField>CustomerID</DataField>
379        </Field>
380        <Field Name="BRUTTO">
381          <rd:TypeName>System.Decimal</rd:TypeName>
382          <DataField>BRUTTO</DataField>
383        </Field>
384        <Field Name="ZAPLATY">
385          <rd:TypeName>System.Decimal</rd:TypeName>
386          <DataField>ZAPLATY</DataField>
387        </Field>
388        <Field Name="ZALEGA">
389          <rd:TypeName>System.Decimal</rd:TypeName>
390          <DataField>ZALEGA</DataField>
391        </Field>
392        <Field Name="ILOSC">
393          <rd:TypeName>System.Int32</rd:TypeName>
394          <DataField>ILOSC</DataField>
395        </Field>
396      </Fields>
397    </DataSet>
398  </DataSets>
399  <Code />
400  <Width>18cm</Width>
401  <InteractiveHeight>29.7cm</InteractiveHeight>
402  <Language>en-US</Language>
403  <TopMargin>1cm</TopMargin>
404  <PageHeight>29.7cm</PageHeight>
405</Report>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.