| 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>6a2bec57-03d9-4f28-a49c-65e1805de702</rd:DataSourceID>
|
|---|
| 7 | </DataSource>
|
|---|
| 8 | </DataSources>
|
|---|
| 9 | <BottomMargin>1cm</BottomMargin>
|
|---|
| 10 | <RightMargin>1cm</RightMargin>
|
|---|
| 11 | <PageWidth>29.7cm</PageWidth>
|
|---|
| 12 | <ReportParameters>
|
|---|
| 13 | <ReportParameter Name="od">
|
|---|
| 14 | <DataType>String</DataType>
|
|---|
| 15 | <DefaultValue>
|
|---|
| 16 | <Values>
|
|---|
| 17 | <Value>=Year(Today)</Value>
|
|---|
| 18 | </Values>
|
|---|
| 19 | </DefaultValue>
|
|---|
| 20 | <Prompt>od roku</Prompt>
|
|---|
| 21 | <ValidValues>
|
|---|
| 22 | <DataSetReference>
|
|---|
| 23 | <DataSetName>ListaLat</DataSetName>
|
|---|
| 24 | <ValueField>rok</ValueField>
|
|---|
| 25 | <LabelField>rok</LabelField>
|
|---|
| 26 | </DataSetReference>
|
|---|
| 27 | </ValidValues>
|
|---|
| 28 | </ReportParameter>
|
|---|
| 29 | <ReportParameter Name="do">
|
|---|
| 30 | <DataType>String</DataType>
|
|---|
| 31 | <DefaultValue>
|
|---|
| 32 | <Values>
|
|---|
| 33 | <Value>=Year(Today)</Value>
|
|---|
| 34 | </Values>
|
|---|
| 35 | </DefaultValue>
|
|---|
| 36 | <AllowBlank>true</AllowBlank>
|
|---|
| 37 | <Prompt>do roku</Prompt>
|
|---|
| 38 | <ValidValues>
|
|---|
| 39 | <DataSetReference>
|
|---|
| 40 | <DataSetName>ListaLat</DataSetName>
|
|---|
| 41 | <ValueField>rok</ValueField>
|
|---|
| 42 | <LabelField>rok</LabelField>
|
|---|
| 43 | </DataSetReference>
|
|---|
| 44 | </ValidValues>
|
|---|
| 45 | </ReportParameter>
|
|---|
| 46 | <ReportParameter Name="tytul">
|
|---|
| 47 | <DataType>String</DataType>
|
|---|
| 48 | <Nullable>true</Nullable>
|
|---|
| 49 | <Prompt>tytuÅ:</Prompt>
|
|---|
| 50 | <ValidValues>
|
|---|
| 51 | <DataSetReference>
|
|---|
| 52 | <DataSetName>ListaTytulow</DataSetName>
|
|---|
| 53 | <ValueField>value</ValueField>
|
|---|
| 54 | <LabelField>label</LabelField>
|
|---|
| 55 | </DataSetReference>
|
|---|
| 56 | </ValidValues>
|
|---|
| 57 | </ReportParameter>
|
|---|
| 58 | <ReportParameter Name="agencja">
|
|---|
| 59 | <DataType>String</DataType>
|
|---|
| 60 | <Nullable>true</Nullable>
|
|---|
| 61 | <Prompt>agencja</Prompt>
|
|---|
| 62 | <ValidValues>
|
|---|
| 63 | <DataSetReference>
|
|---|
| 64 | <DataSetName>ListaAgencji</DataSetName>
|
|---|
| 65 | <ValueField>Id_agencji</ValueField>
|
|---|
| 66 | <LabelField>Symbol</LabelField>
|
|---|
| 67 | </DataSetReference>
|
|---|
| 68 | </ValidValues>
|
|---|
| 69 | </ReportParameter>
|
|---|
| 70 | <ReportParameter Name="agent">
|
|---|
| 71 | <DataType>String</DataType>
|
|---|
| 72 | <Nullable>true</Nullable>
|
|---|
| 73 | <Prompt>agent</Prompt>
|
|---|
| 74 | <ValidValues>
|
|---|
| 75 | <DataSetReference>
|
|---|
| 76 | <DataSetName>ListaAgentow</DataSetName>
|
|---|
| 77 | <ValueField>ID_AGENTA</ValueField>
|
|---|
| 78 | <LabelField>Symbol</LabelField>
|
|---|
| 79 | </DataSetReference>
|
|---|
| 80 | </ValidValues>
|
|---|
| 81 | </ReportParameter>
|
|---|
| 82 | </ReportParameters>
|
|---|
| 83 | <rd:DrawGrid>true</rd:DrawGrid>
|
|---|
| 84 | <InteractiveWidth>21cm</InteractiveWidth>
|
|---|
| 85 | <rd:GridSpacing>0.25cm</rd:GridSpacing>
|
|---|
| 86 | <rd:SnapToGrid>true</rd:SnapToGrid>
|
|---|
| 87 | <Body>
|
|---|
| 88 | <ColumnSpacing>1cm</ColumnSpacing>
|
|---|
| 89 | <ReportItems>
|
|---|
| 90 | <Chart Name="chart2">
|
|---|
| 91 | <Legend>
|
|---|
| 92 | <Visible>true</Visible>
|
|---|
| 93 | <Style>
|
|---|
| 94 | <BorderStyle>
|
|---|
| 95 | <Default>Solid</Default>
|
|---|
| 96 | </BorderStyle>
|
|---|
| 97 | </Style>
|
|---|
| 98 | <Position>RightCenter</Position>
|
|---|
| 99 | </Legend>
|
|---|
| 100 | <Subtype>Plain</Subtype>
|
|---|
| 101 | <Title />
|
|---|
| 102 | <CategoryAxis>
|
|---|
| 103 | <Axis>
|
|---|
| 104 | <Title />
|
|---|
| 105 | <MajorGridLines>
|
|---|
| 106 | <Style>
|
|---|
| 107 | <BorderStyle>
|
|---|
| 108 | <Default>Solid</Default>
|
|---|
| 109 | </BorderStyle>
|
|---|
| 110 | </Style>
|
|---|
| 111 | </MajorGridLines>
|
|---|
| 112 | <MinorGridLines>
|
|---|
| 113 | <Style>
|
|---|
| 114 | <BorderStyle>
|
|---|
| 115 | <Default>Solid</Default>
|
|---|
| 116 | </BorderStyle>
|
|---|
| 117 | </Style>
|
|---|
| 118 | </MinorGridLines>
|
|---|
| 119 | <MajorTickMarks>Outside</MajorTickMarks>
|
|---|
| 120 | <Min>0</Min>
|
|---|
| 121 | <Visible>true</Visible>
|
|---|
| 122 | </Axis>
|
|---|
| 123 | </CategoryAxis>
|
|---|
| 124 | <PointWidth>0</PointWidth>
|
|---|
| 125 | <Left>4.25cm</Left>
|
|---|
| 126 | <ThreeDProperties>
|
|---|
| 127 | <Enabled>true</Enabled>
|
|---|
| 128 | <ProjectionMode>Orthographic</ProjectionMode>
|
|---|
| 129 | <Rotation>25</Rotation>
|
|---|
| 130 | <Inclination>-30</Inclination>
|
|---|
| 131 | <Perspective>49</Perspective>
|
|---|
| 132 | <Shading>Real</Shading>
|
|---|
| 133 | <WallThickness>49</WallThickness>
|
|---|
| 134 | <DrawingStyle>Cylinder</DrawingStyle>
|
|---|
| 135 | <Clustered>true</Clustered>
|
|---|
| 136 | </ThreeDProperties>
|
|---|
| 137 | <DataSetName>wgDatyFakturywgPanstw</DataSetName>
|
|---|
| 138 | <Top>4.25cm</Top>
|
|---|
| 139 | <PlotArea>
|
|---|
| 140 | <Style>
|
|---|
| 141 | <BackgroundColor>White</BackgroundColor>
|
|---|
| 142 | </Style>
|
|---|
| 143 | </PlotArea>
|
|---|
| 144 | <ValueAxis>
|
|---|
| 145 | <Axis>
|
|---|
| 146 | <Title />
|
|---|
| 147 | <MajorGridLines>
|
|---|
| 148 | <ShowGridLines>true</ShowGridLines>
|
|---|
| 149 | <Style>
|
|---|
| 150 | <BorderStyle>
|
|---|
| 151 | <Default>Solid</Default>
|
|---|
| 152 | </BorderStyle>
|
|---|
| 153 | </Style>
|
|---|
| 154 | </MajorGridLines>
|
|---|
| 155 | <MinorGridLines>
|
|---|
| 156 | <Style>
|
|---|
| 157 | <BorderStyle>
|
|---|
| 158 | <Default>Solid</Default>
|
|---|
| 159 | </BorderStyle>
|
|---|
| 160 | </Style>
|
|---|
| 161 | </MinorGridLines>
|
|---|
| 162 | <MajorTickMarks>Outside</MajorTickMarks>
|
|---|
| 163 | <Min>0</Min>
|
|---|
| 164 | <Margin>true</Margin>
|
|---|
| 165 | <Visible>true</Visible>
|
|---|
| 166 | <Scalar>true</Scalar>
|
|---|
| 167 | </Axis>
|
|---|
| 168 | </ValueAxis>
|
|---|
| 169 | <ZIndex>3</ZIndex>
|
|---|
| 170 | <Type>Pie</Type>
|
|---|
| 171 | <Width>12cm</Width>
|
|---|
| 172 | <CategoryGroupings>
|
|---|
| 173 | <CategoryGrouping>
|
|---|
| 174 | <DynamicCategories>
|
|---|
| 175 | <Grouping Name="chart2_CategoryGroup1">
|
|---|
| 176 | <GroupExpressions>
|
|---|
| 177 | <GroupExpression>=Fields!b.Value</GroupExpression>
|
|---|
| 178 | </GroupExpressions>
|
|---|
| 179 | </Grouping>
|
|---|
| 180 | <Label>=iif(Fields!b.Value=1,"POLSKA","INNE")</Label>
|
|---|
| 181 | </DynamicCategories>
|
|---|
| 182 | </CategoryGrouping>
|
|---|
| 183 | </CategoryGroupings>
|
|---|
| 184 | <Palette>Light</Palette>
|
|---|
| 185 | <ChartData>
|
|---|
| 186 | <ChartSeries>
|
|---|
| 187 | <DataPoints>
|
|---|
| 188 | <DataPoint>
|
|---|
| 189 | <DataValues>
|
|---|
| 190 | <DataValue>
|
|---|
| 191 | <Value>=Sum(Fields!netto.Value)</Value>
|
|---|
| 192 | </DataValue>
|
|---|
| 193 | </DataValues>
|
|---|
| 194 | <DataLabel>
|
|---|
| 195 | <Value>=Code.Formatuj(Sum(Fields!netto.Value))</Value>
|
|---|
| 196 | <Visible>true</Visible>
|
|---|
| 197 | </DataLabel>
|
|---|
| 198 | <Marker>
|
|---|
| 199 | <Size>6pt</Size>
|
|---|
| 200 | </Marker>
|
|---|
| 201 | </DataPoint>
|
|---|
| 202 | </DataPoints>
|
|---|
| 203 | </ChartSeries>
|
|---|
| 204 | </ChartData>
|
|---|
| 205 | <Style>
|
|---|
| 206 | <BackgroundColor>White</BackgroundColor>
|
|---|
| 207 | </Style>
|
|---|
| 208 | </Chart>
|
|---|
| 209 | <Textbox Name="textbox8">
|
|---|
| 210 | <Left>10.75cm</Left>
|
|---|
| 211 | <Top>0.25cm</Top>
|
|---|
| 212 | <rd:DefaultName>textbox8</rd:DefaultName>
|
|---|
| 213 | <ZIndex>2</ZIndex>
|
|---|
| 214 | <Width>9.25cm</Width>
|
|---|
| 215 | <Style>
|
|---|
| 216 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 217 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 218 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 219 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 220 | </Style>
|
|---|
| 221 | <CanGrow>true</CanGrow>
|
|---|
| 222 | <Height>0.63492cm</Height>
|
|---|
| 223 | <Value>(wg daty wystawienia faktury)</Value>
|
|---|
| 224 | </Textbox>
|
|---|
| 225 | <Textbox Name="textbox9">
|
|---|
| 226 | <Left>1cm</Left>
|
|---|
| 227 | <Top>0.25cm</Top>
|
|---|
| 228 | <rd:DefaultName>textbox9</rd:DefaultName>
|
|---|
| 229 | <ZIndex>1</ZIndex>
|
|---|
| 230 | <Width>9.25cm</Width>
|
|---|
| 231 | <Style>
|
|---|
| 232 | <TextAlign>Center</TextAlign>
|
|---|
| 233 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 234 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 235 | <FontWeight>700</FontWeight>
|
|---|
| 236 | <FontSize>12pt</FontSize>
|
|---|
| 237 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 238 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 239 | </Style>
|
|---|
| 240 | <CanGrow>true</CanGrow>
|
|---|
| 241 | <Height>0.63492cm</Height>
|
|---|
| 242 | <Value>ZESTAWIENIE SPRZEDAÅ»Y WG PAÅST</Value>
|
|---|
| 243 | </Textbox>
|
|---|
| 244 | <Table Name="table1">
|
|---|
| 245 | <Footer>
|
|---|
| 246 | <TableRows>
|
|---|
| 247 | <TableRow>
|
|---|
| 248 | <TableCells>
|
|---|
| 249 | <TableCell>
|
|---|
| 250 | <ReportItems>
|
|---|
| 251 | <Textbox Name="textbox12">
|
|---|
| 252 | <rd:DefaultName>textbox12</rd:DefaultName>
|
|---|
| 253 | <ZIndex>2</ZIndex>
|
|---|
| 254 | <Style>
|
|---|
| 255 | <TextAlign>Right</TextAlign>
|
|---|
| 256 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 257 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 258 | <FontWeight>700</FontWeight>
|
|---|
| 259 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 260 | <Format>C</Format>
|
|---|
| 261 | <BorderColor>
|
|---|
| 262 | <Default>LightGrey</Default>
|
|---|
| 263 | </BorderColor>
|
|---|
| 264 | <PaddingRight>12pt</PaddingRight>
|
|---|
| 265 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 266 | </Style>
|
|---|
| 267 | <CanGrow>true</CanGrow>
|
|---|
| 268 | <Value />
|
|---|
| 269 | </Textbox>
|
|---|
| 270 | </ReportItems>
|
|---|
| 271 | </TableCell>
|
|---|
| 272 | <TableCell>
|
|---|
| 273 | <ReportItems>
|
|---|
| 274 | <Textbox Name="textbox13">
|
|---|
| 275 | <rd:DefaultName>textbox13</rd:DefaultName>
|
|---|
| 276 | <ZIndex>1</ZIndex>
|
|---|
| 277 | <Style>
|
|---|
| 278 | <TextAlign>Right</TextAlign>
|
|---|
| 279 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 280 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 281 | <FontWeight>700</FontWeight>
|
|---|
| 282 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 283 | <Format>C</Format>
|
|---|
| 284 | <BorderColor>
|
|---|
| 285 | <Default>LightGrey</Default>
|
|---|
| 286 | </BorderColor>
|
|---|
| 287 | <PaddingRight>12pt</PaddingRight>
|
|---|
| 288 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 289 | </Style>
|
|---|
| 290 | <CanGrow>true</CanGrow>
|
|---|
| 291 | <Value />
|
|---|
| 292 | </Textbox>
|
|---|
| 293 | </ReportItems>
|
|---|
| 294 | </TableCell>
|
|---|
| 295 | <TableCell>
|
|---|
| 296 | <ReportItems>
|
|---|
| 297 | <Textbox Name="textbox14">
|
|---|
| 298 | <rd:DefaultName>textbox14</rd:DefaultName>
|
|---|
| 299 | <Style>
|
|---|
| 300 | <TextAlign>Right</TextAlign>
|
|---|
| 301 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 302 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 303 | <FontWeight>700</FontWeight>
|
|---|
| 304 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 305 | <Format>C</Format>
|
|---|
| 306 | <BorderColor>
|
|---|
| 307 | <Default>LightGrey</Default>
|
|---|
| 308 | </BorderColor>
|
|---|
| 309 | <PaddingRight>12pt</PaddingRight>
|
|---|
| 310 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 311 | </Style>
|
|---|
| 312 | <CanGrow>true</CanGrow>
|
|---|
| 313 | <Value />
|
|---|
| 314 | </Textbox>
|
|---|
| 315 | </ReportItems>
|
|---|
| 316 | </TableCell>
|
|---|
| 317 | </TableCells>
|
|---|
| 318 | <Height>0.25cm</Height>
|
|---|
| 319 | </TableRow>
|
|---|
| 320 | <TableRow>
|
|---|
| 321 | <TableCells>
|
|---|
| 322 | <TableCell>
|
|---|
| 323 | <ColSpan>3</ColSpan>
|
|---|
| 324 | <ReportItems>
|
|---|
| 325 | <Textbox Name="textbox7">
|
|---|
| 326 | <rd:DefaultName>textbox7</rd:DefaultName>
|
|---|
| 327 | <ZIndex>3</ZIndex>
|
|---|
| 328 | <Style>
|
|---|
| 329 | <BorderStyle>
|
|---|
| 330 | <Bottom>Solid</Bottom>
|
|---|
| 331 | <Top>Solid</Top>
|
|---|
| 332 | <Left>Solid</Left>
|
|---|
| 333 | <Right>Solid</Right>
|
|---|
| 334 | </BorderStyle>
|
|---|
| 335 | <TextAlign>Right</TextAlign>
|
|---|
| 336 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 337 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 338 | <FontWeight>700</FontWeight>
|
|---|
| 339 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 340 | <Format>C</Format>
|
|---|
| 341 | <BorderColor>
|
|---|
| 342 | <Default>LightGrey</Default>
|
|---|
| 343 | </BorderColor>
|
|---|
| 344 | <BackgroundColor>WhiteSmoke</BackgroundColor>
|
|---|
| 345 | <PaddingRight>12pt</PaddingRight>
|
|---|
| 346 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 347 | <Language>pl</Language>
|
|---|
| 348 | </Style>
|
|---|
| 349 | <CanGrow>true</CanGrow>
|
|---|
| 350 | <Value>="SUMA: " & Code.Formatuj(Sum(Fields!netto.Value))</Value>
|
|---|
| 351 | </Textbox>
|
|---|
| 352 | </ReportItems>
|
|---|
| 353 | </TableCell>
|
|---|
| 354 | </TableCells>
|
|---|
| 355 | <Height>0.63492cm</Height>
|
|---|
| 356 | </TableRow>
|
|---|
| 357 | <TableRow>
|
|---|
| 358 | <TableCells>
|
|---|
| 359 | <TableCell>
|
|---|
| 360 | <ReportItems>
|
|---|
| 361 | <Textbox Name="textbox10">
|
|---|
| 362 | <rd:DefaultName>textbox10</rd:DefaultName>
|
|---|
| 363 | <ZIndex>6</ZIndex>
|
|---|
| 364 | <Style>
|
|---|
| 365 | <BorderStyle>
|
|---|
| 366 | <Bottom>Solid</Bottom>
|
|---|
| 367 | <Top>Solid</Top>
|
|---|
| 368 | <Left>Solid</Left>
|
|---|
| 369 | <Right>Solid</Right>
|
|---|
| 370 | </BorderStyle>
|
|---|
| 371 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 372 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 373 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 374 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 375 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 376 | </Style>
|
|---|
| 377 | <CanGrow>true</CanGrow>
|
|---|
| 378 | <Value />
|
|---|
| 379 | </Textbox>
|
|---|
| 380 | </ReportItems>
|
|---|
| 381 | </TableCell>
|
|---|
| 382 | <TableCell>
|
|---|
| 383 | <ReportItems>
|
|---|
| 384 | <Textbox Name="textbox11">
|
|---|
| 385 | <rd:DefaultName>textbox11</rd:DefaultName>
|
|---|
| 386 | <ZIndex>5</ZIndex>
|
|---|
| 387 | <Style>
|
|---|
| 388 | <BorderStyle>
|
|---|
| 389 | <Bottom>Solid</Bottom>
|
|---|
| 390 | <Top>Solid</Top>
|
|---|
| 391 | <Left>Solid</Left>
|
|---|
| 392 | <Right>Solid</Right>
|
|---|
| 393 | </BorderStyle>
|
|---|
| 394 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 395 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 396 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 397 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 398 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 399 | </Style>
|
|---|
| 400 | <CanGrow>true</CanGrow>
|
|---|
| 401 | <Value />
|
|---|
| 402 | </Textbox>
|
|---|
| 403 | </ReportItems>
|
|---|
| 404 | </TableCell>
|
|---|
| 405 | <TableCell>
|
|---|
| 406 | <ReportItems>
|
|---|
| 407 | <Textbox Name="MAX">
|
|---|
| 408 | <ZIndex>4</ZIndex>
|
|---|
| 409 | <Style>
|
|---|
| 410 | <BorderStyle>
|
|---|
| 411 | <Bottom>Solid</Bottom>
|
|---|
| 412 | <Top>Solid</Top>
|
|---|
| 413 | <Left>Solid</Left>
|
|---|
| 414 | <Right>Solid</Right>
|
|---|
| 415 | </BorderStyle>
|
|---|
| 416 | <TextAlign>Right</TextAlign>
|
|---|
| 417 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 418 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 419 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 420 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 421 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 422 | <Language>pl-PL</Language>
|
|---|
| 423 | </Style>
|
|---|
| 424 | <CanGrow>true</CanGrow>
|
|---|
| 425 | <Value>=Max(Fields!netto.Value)</Value>
|
|---|
| 426 | </Textbox>
|
|---|
| 427 | </ReportItems>
|
|---|
| 428 | </TableCell>
|
|---|
| 429 | </TableCells>
|
|---|
| 430 | <Height>0.63492cm</Height>
|
|---|
| 431 | <Visibility>
|
|---|
| 432 | <Hidden>true</Hidden>
|
|---|
| 433 | </Visibility>
|
|---|
| 434 | </TableRow>
|
|---|
| 435 | </TableRows>
|
|---|
| 436 | </Footer>
|
|---|
| 437 | <Left>1cm</Left>
|
|---|
| 438 | <DataSetName>wgDatyFakturywgPanstw</DataSetName>
|
|---|
| 439 | <Top>1cm</Top>
|
|---|
| 440 | <TableGroups>
|
|---|
| 441 | <TableGroup>
|
|---|
| 442 | <Header>
|
|---|
| 443 | <TableRows>
|
|---|
| 444 | <TableRow>
|
|---|
| 445 | <TableCells>
|
|---|
| 446 | <TableCell>
|
|---|
| 447 | <ReportItems>
|
|---|
| 448 | <Textbox Name="textbox4">
|
|---|
| 449 | <rd:DefaultName>textbox4</rd:DefaultName>
|
|---|
| 450 | <ZIndex>12</ZIndex>
|
|---|
| 451 | <Style>
|
|---|
| 452 | <TextAlign>Center</TextAlign>
|
|---|
| 453 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 454 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 455 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 456 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 457 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 458 | </Style>
|
|---|
| 459 | <CanGrow>true</CanGrow>
|
|---|
| 460 | <Value />
|
|---|
| 461 | </Textbox>
|
|---|
| 462 | </ReportItems>
|
|---|
| 463 | </TableCell>
|
|---|
| 464 | <TableCell>
|
|---|
| 465 | <ReportItems>
|
|---|
| 466 | <Textbox Name="textbox5">
|
|---|
| 467 | <rd:DefaultName>textbox5</rd:DefaultName>
|
|---|
| 468 | <ZIndex>11</ZIndex>
|
|---|
| 469 | <Style>
|
|---|
| 470 | <TextAlign>Center</TextAlign>
|
|---|
| 471 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 472 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 473 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 474 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 475 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 476 | </Style>
|
|---|
| 477 | <CanGrow>true</CanGrow>
|
|---|
| 478 | <Value />
|
|---|
| 479 | </Textbox>
|
|---|
| 480 | </ReportItems>
|
|---|
| 481 | </TableCell>
|
|---|
| 482 | <TableCell>
|
|---|
| 483 | <ReportItems>
|
|---|
| 484 | <Textbox Name="textbox6">
|
|---|
| 485 | <rd:DefaultName>textbox6</rd:DefaultName>
|
|---|
| 486 | <ZIndex>10</ZIndex>
|
|---|
| 487 | <Style>
|
|---|
| 488 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 489 | <BackgroundColor>White</BackgroundColor>
|
|---|
| 490 | </Style>
|
|---|
| 491 | <CanGrow>true</CanGrow>
|
|---|
| 492 | <Value />
|
|---|
| 493 | </Textbox>
|
|---|
| 494 | </ReportItems>
|
|---|
| 495 | </TableCell>
|
|---|
| 496 | </TableCells>
|
|---|
| 497 | <Height>0.25cm</Height>
|
|---|
| 498 | </TableRow>
|
|---|
| 499 | <TableRow>
|
|---|
| 500 | <TableCells>
|
|---|
| 501 | <TableCell>
|
|---|
| 502 | <ReportItems>
|
|---|
| 503 | <Textbox Name="kraj">
|
|---|
| 504 | <rd:DefaultName>kraj</rd:DefaultName>
|
|---|
| 505 | <ZIndex>9</ZIndex>
|
|---|
| 506 | <Style>
|
|---|
| 507 | <TextAlign>Left</TextAlign>
|
|---|
| 508 | <PaddingLeft>12pt</PaddingLeft>
|
|---|
| 509 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 510 | <FontWeight>700</FontWeight>
|
|---|
| 511 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 512 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 513 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 514 | </Style>
|
|---|
| 515 | <CanGrow>true</CanGrow>
|
|---|
| 516 | <Value>=Iif(IsNothing(Fields!kraj.Value),"PozostaÅe",Fields!kraj.Value)</Value>
|
|---|
| 517 | </Textbox>
|
|---|
| 518 | </ReportItems>
|
|---|
| 519 | </TableCell>
|
|---|
| 520 | <TableCell>
|
|---|
| 521 | <ReportItems>
|
|---|
| 522 | <Textbox Name="ilosc">
|
|---|
| 523 | <rd:DefaultName>ilosc</rd:DefaultName>
|
|---|
| 524 | <ZIndex>8</ZIndex>
|
|---|
| 525 | <Style>
|
|---|
| 526 | <TextAlign>Center</TextAlign>
|
|---|
| 527 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 528 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 529 | <FontWeight>700</FontWeight>
|
|---|
| 530 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 531 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 532 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 533 | </Style>
|
|---|
| 534 | <CanGrow>true</CanGrow>
|
|---|
| 535 | <Value>=Sum(Fields!ilosc.Value)</Value>
|
|---|
| 536 | </Textbox>
|
|---|
| 537 | </ReportItems>
|
|---|
| 538 | </TableCell>
|
|---|
| 539 | <TableCell>
|
|---|
| 540 | <ReportItems>
|
|---|
| 541 | <Chart Name="chart1">
|
|---|
| 542 | <Legend>
|
|---|
| 543 | <Style>
|
|---|
| 544 | <BorderStyle>
|
|---|
| 545 | <Default>Solid</Default>
|
|---|
| 546 | </BorderStyle>
|
|---|
| 547 | </Style>
|
|---|
| 548 | <Position>RightCenter</Position>
|
|---|
| 549 | </Legend>
|
|---|
| 550 | <Subtype>Plain</Subtype>
|
|---|
| 551 | <Title>
|
|---|
| 552 | <Style />
|
|---|
| 553 | </Title>
|
|---|
| 554 | <CategoryAxis>
|
|---|
| 555 | <Axis>
|
|---|
| 556 | <Title />
|
|---|
| 557 | <MajorGridLines>
|
|---|
| 558 | <Style>
|
|---|
| 559 | <BorderStyle>
|
|---|
| 560 | <Default>Solid</Default>
|
|---|
| 561 | </BorderStyle>
|
|---|
| 562 | </Style>
|
|---|
| 563 | </MajorGridLines>
|
|---|
| 564 | <MinorGridLines>
|
|---|
| 565 | <Style>
|
|---|
| 566 | <BorderStyle>
|
|---|
| 567 | <Default>Solid</Default>
|
|---|
| 568 | </BorderStyle>
|
|---|
| 569 | </Style>
|
|---|
| 570 | </MinorGridLines>
|
|---|
| 571 | <Min>0</Min>
|
|---|
| 572 | </Axis>
|
|---|
| 573 | </CategoryAxis>
|
|---|
| 574 | <PointWidth>0</PointWidth>
|
|---|
| 575 | <ThreeDProperties>
|
|---|
| 576 | <Enabled>true</Enabled>
|
|---|
| 577 | <Shading>Real</Shading>
|
|---|
| 578 | <DrawingStyle>Cylinder</DrawingStyle>
|
|---|
| 579 | </ThreeDProperties>
|
|---|
| 580 | <DataSetName>wgDatyFakturywgPanstw</DataSetName>
|
|---|
| 581 | <SeriesGroupings>
|
|---|
| 582 | <SeriesGrouping>
|
|---|
| 583 | <StaticSeries>
|
|---|
| 584 | <StaticMember>
|
|---|
| 585 | <Label>Value1</Label>
|
|---|
| 586 | </StaticMember>
|
|---|
| 587 | </StaticSeries>
|
|---|
| 588 | </SeriesGrouping>
|
|---|
| 589 | </SeriesGroupings>
|
|---|
| 590 | <PlotArea>
|
|---|
| 591 | <Style>
|
|---|
| 592 | <BackgroundColor>White</BackgroundColor>
|
|---|
| 593 | </Style>
|
|---|
| 594 | </PlotArea>
|
|---|
| 595 | <ValueAxis>
|
|---|
| 596 | <Axis>
|
|---|
| 597 | <Title />
|
|---|
| 598 | <MajorGridLines>
|
|---|
| 599 | <Style>
|
|---|
| 600 | <BorderStyle>
|
|---|
| 601 | <Default>Solid</Default>
|
|---|
| 602 | </BorderStyle>
|
|---|
| 603 | </Style>
|
|---|
| 604 | </MajorGridLines>
|
|---|
| 605 | <MinorGridLines>
|
|---|
| 606 | <Style>
|
|---|
| 607 | <BorderStyle>
|
|---|
| 608 | <Default>Solid</Default>
|
|---|
| 609 | </BorderStyle>
|
|---|
| 610 | </Style>
|
|---|
| 611 | </MinorGridLines>
|
|---|
| 612 | <Min>0</Min>
|
|---|
| 613 | <Max>=ReportItems!MAX.Value</Max>
|
|---|
| 614 | <Scalar>true</Scalar>
|
|---|
| 615 | </Axis>
|
|---|
| 616 | </ValueAxis>
|
|---|
| 617 | <ZIndex>7</ZIndex>
|
|---|
| 618 | <Type>Bar</Type>
|
|---|
| 619 | <Palette>Excel</Palette>
|
|---|
| 620 | <ChartData>
|
|---|
| 621 | <ChartSeries>
|
|---|
| 622 | <DataPoints>
|
|---|
| 623 | <DataPoint>
|
|---|
| 624 | <DataValues>
|
|---|
| 625 | <DataValue>
|
|---|
| 626 | <Value>=Fields!netto.Value</Value>
|
|---|
| 627 | </DataValue>
|
|---|
| 628 | </DataValues>
|
|---|
| 629 | <DataLabel>
|
|---|
| 630 | <Value>=Code.Formatuj(Fields!netto.Value)</Value>
|
|---|
| 631 | <Visible>true</Visible>
|
|---|
| 632 | </DataLabel>
|
|---|
| 633 | <Marker>
|
|---|
| 634 | <Size>6pt</Size>
|
|---|
| 635 | </Marker>
|
|---|
| 636 | </DataPoint>
|
|---|
| 637 | </DataPoints>
|
|---|
| 638 | </ChartSeries>
|
|---|
| 639 | </ChartData>
|
|---|
| 640 | <Style>
|
|---|
| 641 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 642 | <BackgroundColor>White</BackgroundColor>
|
|---|
| 643 | </Style>
|
|---|
| 644 | </Chart>
|
|---|
| 645 | </ReportItems>
|
|---|
| 646 | </TableCell>
|
|---|
| 647 | </TableCells>
|
|---|
| 648 | <Height>0.63492cm</Height>
|
|---|
| 649 | </TableRow>
|
|---|
| 650 | </TableRows>
|
|---|
| 651 | </Header>
|
|---|
| 652 | <Grouping Name="table1_Group1">
|
|---|
| 653 | <GroupExpressions>
|
|---|
| 654 | <GroupExpression>=Fields!kraj.Value</GroupExpression>
|
|---|
| 655 | </GroupExpressions>
|
|---|
| 656 | </Grouping>
|
|---|
| 657 | </TableGroup>
|
|---|
| 658 | </TableGroups>
|
|---|
| 659 | <Width>19cm</Width>
|
|---|
| 660 | <Header>
|
|---|
| 661 | <TableRows>
|
|---|
| 662 | <TableRow>
|
|---|
| 663 | <TableCells>
|
|---|
| 664 | <TableCell>
|
|---|
| 665 | <ReportItems>
|
|---|
| 666 | <Textbox Name="textbox1">
|
|---|
| 667 | <rd:DefaultName>textbox1</rd:DefaultName>
|
|---|
| 668 | <ZIndex>15</ZIndex>
|
|---|
| 669 | <Style>
|
|---|
| 670 | <BorderStyle>
|
|---|
| 671 | <Bottom>Solid</Bottom>
|
|---|
| 672 | <Top>Solid</Top>
|
|---|
| 673 | <Left>Solid</Left>
|
|---|
| 674 | <Right>None</Right>
|
|---|
| 675 | </BorderStyle>
|
|---|
| 676 | <TextAlign>Center</TextAlign>
|
|---|
| 677 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 678 | <BorderWidth>
|
|---|
| 679 | <Default>0.5pt</Default>
|
|---|
| 680 | </BorderWidth>
|
|---|
| 681 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 682 | <FontWeight>700</FontWeight>
|
|---|
| 683 | <FontSize>9pt</FontSize>
|
|---|
| 684 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 685 | <BorderColor>
|
|---|
| 686 | <Default>LightGrey</Default>
|
|---|
| 687 | </BorderColor>
|
|---|
| 688 | <BackgroundColor>WhiteSmoke</BackgroundColor>
|
|---|
| 689 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 690 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 691 | </Style>
|
|---|
| 692 | <CanGrow>true</CanGrow>
|
|---|
| 693 | <Value>KRAJ</Value>
|
|---|
| 694 | </Textbox>
|
|---|
| 695 | </ReportItems>
|
|---|
| 696 | </TableCell>
|
|---|
| 697 | <TableCell>
|
|---|
| 698 | <ReportItems>
|
|---|
| 699 | <Textbox Name="textbox2">
|
|---|
| 700 | <rd:DefaultName>textbox2</rd:DefaultName>
|
|---|
| 701 | <ZIndex>14</ZIndex>
|
|---|
| 702 | <Style>
|
|---|
| 703 | <BorderStyle>
|
|---|
| 704 | <Bottom>Solid</Bottom>
|
|---|
| 705 | <Top>Solid</Top>
|
|---|
| 706 | <Left>None</Left>
|
|---|
| 707 | <Right>None</Right>
|
|---|
| 708 | </BorderStyle>
|
|---|
| 709 | <TextAlign>Center</TextAlign>
|
|---|
| 710 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 711 | <BorderWidth>
|
|---|
| 712 | <Default>0.5pt</Default>
|
|---|
| 713 | </BorderWidth>
|
|---|
| 714 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 715 | <FontWeight>700</FontWeight>
|
|---|
| 716 | <FontSize>9pt</FontSize>
|
|---|
| 717 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 718 | <BorderColor>
|
|---|
| 719 | <Default>LightGrey</Default>
|
|---|
| 720 | </BorderColor>
|
|---|
| 721 | <BackgroundColor>WhiteSmoke</BackgroundColor>
|
|---|
| 722 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 723 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 724 | </Style>
|
|---|
| 725 | <CanGrow>true</CanGrow>
|
|---|
| 726 | <Value>ILOÅÄ</Value>
|
|---|
| 727 | </Textbox>
|
|---|
| 728 | </ReportItems>
|
|---|
| 729 | </TableCell>
|
|---|
| 730 | <TableCell>
|
|---|
| 731 | <ReportItems>
|
|---|
| 732 | <Textbox Name="textbox3">
|
|---|
| 733 | <rd:DefaultName>textbox3</rd:DefaultName>
|
|---|
| 734 | <ZIndex>13</ZIndex>
|
|---|
| 735 | <Style>
|
|---|
| 736 | <BorderStyle>
|
|---|
| 737 | <Bottom>Solid</Bottom>
|
|---|
| 738 | <Top>Solid</Top>
|
|---|
| 739 | <Left>None</Left>
|
|---|
| 740 | <Right>Solid</Right>
|
|---|
| 741 | </BorderStyle>
|
|---|
| 742 | <TextAlign>Center</TextAlign>
|
|---|
| 743 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 744 | <BorderWidth>
|
|---|
| 745 | <Default>0.5pt</Default>
|
|---|
| 746 | </BorderWidth>
|
|---|
| 747 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 748 | <FontWeight>700</FontWeight>
|
|---|
| 749 | <FontSize>9pt</FontSize>
|
|---|
| 750 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 751 | <BorderColor>
|
|---|
| 752 | <Default>LightGrey</Default>
|
|---|
| 753 | </BorderColor>
|
|---|
| 754 | <BackgroundColor>WhiteSmoke</BackgroundColor>
|
|---|
| 755 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 756 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 757 | </Style>
|
|---|
| 758 | <CanGrow>true</CanGrow>
|
|---|
| 759 | <Value>NETTO</Value>
|
|---|
| 760 | </Textbox>
|
|---|
| 761 | </ReportItems>
|
|---|
| 762 | </TableCell>
|
|---|
| 763 | </TableCells>
|
|---|
| 764 | <Height>0.75cm</Height>
|
|---|
| 765 | </TableRow>
|
|---|
| 766 | </TableRows>
|
|---|
| 767 | </Header>
|
|---|
| 768 | <TableColumns>
|
|---|
| 769 | <TableColumn>
|
|---|
| 770 | <Width>3.5cm</Width>
|
|---|
| 771 | </TableColumn>
|
|---|
| 772 | <TableColumn>
|
|---|
| 773 | <Width>2.25cm</Width>
|
|---|
| 774 | </TableColumn>
|
|---|
| 775 | <TableColumn>
|
|---|
| 776 | <Width>13.25cm</Width>
|
|---|
| 777 | </TableColumn>
|
|---|
| 778 | </TableColumns>
|
|---|
| 779 | <Height>3.15476cm</Height>
|
|---|
| 780 | </Table>
|
|---|
| 781 | </ReportItems>
|
|---|
| 782 | <Height>11.61905cm</Height>
|
|---|
| 783 | </Body>
|
|---|
| 784 | <rd:ReportID>58bc7198-b2fa-4939-89e9-e74e3118e4d0</rd:ReportID>
|
|---|
| 785 | <LeftMargin>1cm</LeftMargin>
|
|---|
| 786 | <DataSets>
|
|---|
| 787 | <DataSet Name="wgDatyFakturywgPanstw">
|
|---|
| 788 | <Query>
|
|---|
| 789 | <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
|---|
| 790 | <CommandText>SELECT b, kraj , SUM(NETTO) AS netto,COUNT(ILOSC) AS ilosc
|
|---|
| 791 | FROM
|
|---|
| 792 |
|
|---|
| 793 | (
|
|---|
| 794 |
|
|---|
| 795 | SELECT ROUND(NETTO, 0) AS NETTO,
|
|---|
| 796 | 1 AS ILOSC,
|
|---|
| 797 | DATEPART(YEAR, dbo.REKLAMA.[FAKTURA DATA WYSTAWIENIA]) AS ROK,
|
|---|
| 798 | DATEPART(QUARTER, dbo.REKLAMA.[FAKTURA DATA WYSTAWIENIA]) AS KW,
|
|---|
| 799 | CONVERT(INTEGER,(1.0+DATEPART(QUARTER, dbo.REKLAMA.[FAKTURA DATA WYSTAWIENIA]))/2) AS ROK_PO,
|
|---|
| 800 | DATEPART(MONTH, dbo.REKLAMA.[FAKTURA DATA WYSTAWIENIA]) AS MS,
|
|---|
| 801 | DATEPART(Week, dbo.REKLAMA.[FAKTURA DATA WYSTAWIENIA]) AS WW,
|
|---|
| 802 | dbo.REKLAMA.[FAKTURA DATA WYSTAWIENIA], REKLAMA.TYTUÅ AS tytul, Agencje.Symbol as agencja, Agenci.Symbol as agent,
|
|---|
| 803 | dbo.REKLAMA.ZAPÅACONO,
|
|---|
| 804 | dbo.KLIENCI.Country as kraj, CASE dbo.KLIENCI.Country
|
|---|
| 805 | WHEN 'Polska' THEN 1 ELSE 0 END as b
|
|---|
| 806 |
|
|---|
| 807 | FROM
|
|---|
| 808 | dbo.AGENCJE INNER JOIN dbo.AGENCI ON dbo.AGENCJE.Id_agencji = dbo.AGENCI.ID_AGENCJI
|
|---|
| 809 | INNER JOIN dbo.REKLAMA ON dbo.AGENCI.Symbol = dbo.REKLAMA.[SYMBOL AKWIZYTORA]
|
|---|
| 810 | INNER JOIN dbo.Klienci on dbo.Klienci.CustomerId = dbo.Reklama.CustomerId
|
|---|
| 811 | WHERE
|
|---|
| 812 | (dbo.REKLAMA.TYP = 'PÅATNA' OR dbo.REKLAMA.TYP = 'BARTER')
|
|---|
| 813 | AND (dbo.REKLAMA.[ZATWIERDZONO DO DRUKU] = -1) AND (dbo.REKLAMA.[FAKTURA WYSTAWIONO] = 1)
|
|---|
| 814 | AND (DATEPART(YEAR, dbo.REKLAMA.[FAKTURA DATA WYSTAWIENIA]) >= @od)
|
|---|
| 815 | AND (DATEPART(YEAR, dbo.REKLAMA.[FAKTURA DATA WYSTAWIENIA]) <= @do)
|
|---|
| 816 | AND (@tytul is null OR REKLAMA.TYTUÅ = @tytul)
|
|---|
| 817 | AND (@agencja is null OR Agencje.id_agencji = @agencja)
|
|---|
| 818 | AND (@agent is null OR Agenci.ID_AGENTA = @agent)
|
|---|
| 819 | )
|
|---|
| 820 |
|
|---|
| 821 | AS R
|
|---|
| 822 | GROUP BY kraj,b
|
|---|
| 823 | ORDER BY kraj</CommandText>
|
|---|
| 824 | <QueryParameters>
|
|---|
| 825 | <QueryParameter Name="@od">
|
|---|
| 826 | <Value>=Parameters!od.Value</Value>
|
|---|
| 827 | </QueryParameter>
|
|---|
| 828 | <QueryParameter Name="@do">
|
|---|
| 829 | <Value>=Parameters!do.Value</Value>
|
|---|
| 830 | </QueryParameter>
|
|---|
| 831 | <QueryParameter Name="@tytul">
|
|---|
| 832 | <Value>=Parameters!tytul.Value</Value>
|
|---|
| 833 | </QueryParameter>
|
|---|
| 834 | <QueryParameter Name="@agencja">
|
|---|
| 835 | <Value>=Parameters!agencja.Value</Value>
|
|---|
| 836 | </QueryParameter>
|
|---|
| 837 | <QueryParameter Name="@agent">
|
|---|
| 838 | <Value>=Parameters!agent.Value</Value>
|
|---|
| 839 | </QueryParameter>
|
|---|
| 840 | </QueryParameters>
|
|---|
| 841 | <DataSourceName>BAZA_REKLAM</DataSourceName>
|
|---|
| 842 | </Query>
|
|---|
| 843 | <Fields>
|
|---|
| 844 | <Field Name="b">
|
|---|
| 845 | <rd:TypeName>System.Int32</rd:TypeName>
|
|---|
| 846 | <DataField>b</DataField>
|
|---|
| 847 | </Field>
|
|---|
| 848 | <Field Name="kraj">
|
|---|
| 849 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 850 | <DataField>kraj</DataField>
|
|---|
| 851 | </Field>
|
|---|
| 852 | <Field Name="netto">
|
|---|
| 853 | <rd:TypeName>System.Double</rd:TypeName>
|
|---|
| 854 | <DataField>netto</DataField>
|
|---|
| 855 | </Field>
|
|---|
| 856 | <Field Name="ilosc">
|
|---|
| 857 | <rd:TypeName>System.Int32</rd:TypeName>
|
|---|
| 858 | <DataField>ilosc</DataField>
|
|---|
| 859 | </Field>
|
|---|
| 860 | </Fields>
|
|---|
| 861 | </DataSet>
|
|---|
| 862 | <DataSet Name="ListaAgencji">
|
|---|
| 863 | <Query>
|
|---|
| 864 | <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
|---|
| 865 | <CommandText>SELECT Id_agencji, Symbol
|
|---|
| 866 | FROM AGENCJE where aktywna=1
|
|---|
| 867 | union
|
|---|
| 868 | select NULL ,'Wszystkie'
|
|---|
| 869 | order by Symbol</CommandText>
|
|---|
| 870 | <DataSourceName>BAZA_REKLAM</DataSourceName>
|
|---|
| 871 | </Query>
|
|---|
| 872 | <Fields>
|
|---|
| 873 | <Field Name="Id_agencji">
|
|---|
| 874 | <rd:TypeName>System.Int32</rd:TypeName>
|
|---|
| 875 | <DataField>Id_agencji</DataField>
|
|---|
| 876 | </Field>
|
|---|
| 877 | <Field Name="Symbol">
|
|---|
| 878 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 879 | <DataField>Symbol</DataField>
|
|---|
| 880 | </Field>
|
|---|
| 881 | </Fields>
|
|---|
| 882 | </DataSet>
|
|---|
| 883 | <DataSet Name="ListaAgentow">
|
|---|
| 884 | <Query>
|
|---|
| 885 | <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
|---|
| 886 | <CommandText>SELECT A.ID_AGENTA, A.Symbol, A2.Symbol agencja
|
|---|
| 887 | FROM AGENCI A left join Agencje A2
|
|---|
| 888 | on A.ID_AGENCJI = A2.ID_Agencji
|
|---|
| 889 | where (A2.ID_Agencji in (@agencja)) and a.aktywny=1
|
|---|
| 890 | union
|
|---|
| 891 | select NULL,'Wszyscy','costam'
|
|---|
| 892 | order by A.Symbol</CommandText>
|
|---|
| 893 | <QueryParameters>
|
|---|
| 894 | <QueryParameter Name="@agencja">
|
|---|
| 895 | <Value>=Parameters!agencja.Value</Value>
|
|---|
| 896 | </QueryParameter>
|
|---|
| 897 | </QueryParameters>
|
|---|
| 898 | <DataSourceName>BAZA_REKLAM</DataSourceName>
|
|---|
| 899 | </Query>
|
|---|
| 900 | <Fields>
|
|---|
| 901 | <Field Name="ID_AGENTA">
|
|---|
| 902 | <rd:TypeName>System.Int32</rd:TypeName>
|
|---|
| 903 | <DataField>ID_AGENTA</DataField>
|
|---|
| 904 | </Field>
|
|---|
| 905 | <Field Name="Symbol">
|
|---|
| 906 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 907 | <DataField>Symbol</DataField>
|
|---|
| 908 | </Field>
|
|---|
| 909 | <Field Name="agencja">
|
|---|
| 910 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 911 | <DataField>agencja</DataField>
|
|---|
| 912 | </Field>
|
|---|
| 913 | </Fields>
|
|---|
| 914 | </DataSet>
|
|---|
| 915 | <DataSet Name="ListaTytulow">
|
|---|
| 916 | <Query>
|
|---|
| 917 | <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
|---|
| 918 | <CommandText>SELECT SYMB as label, SYMB as value
|
|---|
| 919 | FROM [LISTA TYTUÅÃW] where st_aktywny = -1
|
|---|
| 920 | union
|
|---|
| 921 | select 'Wszystkie',NULL</CommandText>
|
|---|
| 922 | <DataSourceName>BAZA_REKLAM</DataSourceName>
|
|---|
| 923 | </Query>
|
|---|
| 924 | <Fields>
|
|---|
| 925 | <Field Name="label">
|
|---|
| 926 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 927 | <DataField>label</DataField>
|
|---|
| 928 | </Field>
|
|---|
| 929 | <Field Name="value">
|
|---|
| 930 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 931 | <DataField>value</DataField>
|
|---|
| 932 | </Field>
|
|---|
| 933 | </Fields>
|
|---|
| 934 | </DataSet>
|
|---|
| 935 | <DataSet Name="ListaLat">
|
|---|
| 936 | <Query>
|
|---|
| 937 | <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
|---|
| 938 | <CommandText>select distinct year(DATA_W) as rok from dbo.NR where DATA_W is not null order by year(DATA_W)desc</CommandText>
|
|---|
| 939 | <DataSourceName>BAZA_REKLAM</DataSourceName>
|
|---|
| 940 | </Query>
|
|---|
| 941 | <Fields>
|
|---|
| 942 | <Field Name="rok">
|
|---|
| 943 | <rd:TypeName>System.Int32</rd:TypeName>
|
|---|
| 944 | <DataField>rok</DataField>
|
|---|
| 945 | </Field>
|
|---|
| 946 | </Fields>
|
|---|
| 947 | </DataSet>
|
|---|
| 948 | </DataSets>
|
|---|
| 949 | <Code>Public Shared Function Formatuj(ByVal Value As Integer) As String
|
|---|
| 950 | Formatuj = Format(Value, "### ### ##0.## zÅ")
|
|---|
| 951 | End Function</Code>
|
|---|
| 952 | <Width>21cm</Width>
|
|---|
| 953 | <InteractiveHeight>29.7cm</InteractiveHeight>
|
|---|
| 954 | <Language>en-US</Language>
|
|---|
| 955 | <TopMargin>1cm</TopMargin>
|
|---|
| 956 | <PageHeight>21cm</PageHeight>
|
|---|
| 957 | </Report> |
|---|