| 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>c684495c-3488-426e-a299-bad098fcd1bc</rd:DataSourceID>
|
|---|
| 7 | </DataSource>
|
|---|
| 8 | </DataSources>
|
|---|
| 9 | <BottomMargin>2.5cm</BottomMargin>
|
|---|
| 10 | <RightMargin>1cm</RightMargin>
|
|---|
| 11 | <PageWidth>29.7cm</PageWidth>
|
|---|
| 12 | <ReportParameters>
|
|---|
| 13 | <ReportParameter Name="prawa_agencje">
|
|---|
| 14 | <DataType>String</DataType>
|
|---|
| 15 | <Nullable>true</Nullable>
|
|---|
| 16 | <Prompt>prawa_agencje</Prompt>
|
|---|
| 17 | <Hidden>true</Hidden>
|
|---|
| 18 | </ReportParameter>
|
|---|
| 19 | <ReportParameter Name="prawa_agent">
|
|---|
| 20 | <DataType>String</DataType>
|
|---|
| 21 | <Nullable>true</Nullable>
|
|---|
| 22 | <Prompt>prawa_agent</Prompt>
|
|---|
| 23 | <Hidden>true</Hidden>
|
|---|
| 24 | </ReportParameter>
|
|---|
| 25 | <ReportParameter Name="OD">
|
|---|
| 26 | <DataType>Integer</DataType>
|
|---|
| 27 | <Prompt>OD</Prompt>
|
|---|
| 28 | </ReportParameter>
|
|---|
| 29 | <ReportParameter Name="DO">
|
|---|
| 30 | <DataType>Integer</DataType>
|
|---|
| 31 | <Prompt>DO</Prompt>
|
|---|
| 32 | </ReportParameter>
|
|---|
| 33 | <ReportParameter Name="AGENCJA">
|
|---|
| 34 | <DataType>String</DataType>
|
|---|
| 35 | <DefaultValue>
|
|---|
| 36 | <DataSetReference>
|
|---|
| 37 | <DataSetName>ListaAgencji</DataSetName>
|
|---|
| 38 | <ValueField>Id_agencji</ValueField>
|
|---|
| 39 | </DataSetReference>
|
|---|
| 40 | </DefaultValue>
|
|---|
| 41 | <AllowBlank>true</AllowBlank>
|
|---|
| 42 | <Prompt>AGENCJA</Prompt>
|
|---|
| 43 | <ValidValues>
|
|---|
| 44 | <DataSetReference>
|
|---|
| 45 | <DataSetName>ListaAgencji</DataSetName>
|
|---|
| 46 | <ValueField>Id_agencji</ValueField>
|
|---|
| 47 | <LabelField>Symbol</LabelField>
|
|---|
| 48 | </DataSetReference>
|
|---|
| 49 | </ValidValues>
|
|---|
| 50 | </ReportParameter>
|
|---|
| 51 | <ReportParameter Name="AKWIZYTOR">
|
|---|
| 52 | <DataType>String</DataType>
|
|---|
| 53 | <DefaultValue>
|
|---|
| 54 | <Values>
|
|---|
| 55 | <Value>%</Value>
|
|---|
| 56 | </Values>
|
|---|
| 57 | </DefaultValue>
|
|---|
| 58 | <Prompt>Agent</Prompt>
|
|---|
| 59 | <ValidValues>
|
|---|
| 60 | <DataSetReference>
|
|---|
| 61 | <DataSetName>ListaAgentow</DataSetName>
|
|---|
| 62 | <ValueField>Symbol</ValueField>
|
|---|
| 63 | <LabelField>Symbol</LabelField>
|
|---|
| 64 | </DataSetReference>
|
|---|
| 65 | </ValidValues>
|
|---|
| 66 | </ReportParameter>
|
|---|
| 67 | <ReportParameter Name="TYT">
|
|---|
| 68 | <DataType>String</DataType>
|
|---|
| 69 | <DefaultValue>
|
|---|
| 70 | <DataSetReference>
|
|---|
| 71 | <DataSetName>ListaTytulow</DataSetName>
|
|---|
| 72 | <ValueField>SYMB</ValueField>
|
|---|
| 73 | </DataSetReference>
|
|---|
| 74 | </DefaultValue>
|
|---|
| 75 | <Prompt>TYT</Prompt>
|
|---|
| 76 | <ValidValues>
|
|---|
| 77 | <DataSetReference>
|
|---|
| 78 | <DataSetName>ListaTytulow</DataSetName>
|
|---|
| 79 | <ValueField>SYMB</ValueField>
|
|---|
| 80 | <LabelField>SYMB</LabelField>
|
|---|
| 81 | </DataSetReference>
|
|---|
| 82 | </ValidValues>
|
|---|
| 83 | </ReportParameter>
|
|---|
| 84 | </ReportParameters>
|
|---|
| 85 | <rd:DrawGrid>true</rd:DrawGrid>
|
|---|
| 86 | <InteractiveWidth>21cm</InteractiveWidth>
|
|---|
| 87 | <rd:GridSpacing>0.25cm</rd:GridSpacing>
|
|---|
| 88 | <rd:SnapToGrid>true</rd:SnapToGrid>
|
|---|
| 89 | <Body>
|
|---|
| 90 | <ColumnSpacing>1cm</ColumnSpacing>
|
|---|
| 91 | <ReportItems>
|
|---|
| 92 | <Chart Name="chart1">
|
|---|
| 93 | <Legend>
|
|---|
| 94 | <Visible>true</Visible>
|
|---|
| 95 | <Style>
|
|---|
| 96 | <BorderStyle>
|
|---|
| 97 | <Default>Solid</Default>
|
|---|
| 98 | </BorderStyle>
|
|---|
| 99 | </Style>
|
|---|
| 100 | <Position>BottomCenter</Position>
|
|---|
| 101 | <Layout>Row</Layout>
|
|---|
| 102 | </Legend>
|
|---|
| 103 | <Subtype>Plain</Subtype>
|
|---|
| 104 | <Title>
|
|---|
| 105 | <Caption>WPÅYWY Z REKLAM NA NUMER</Caption>
|
|---|
| 106 | <Style />
|
|---|
| 107 | </Title>
|
|---|
| 108 | <CategoryAxis>
|
|---|
| 109 | <Axis>
|
|---|
| 110 | <Title />
|
|---|
| 111 | <MajorGridLines>
|
|---|
| 112 | <Style>
|
|---|
| 113 | <BorderStyle>
|
|---|
| 114 | <Default>Solid</Default>
|
|---|
| 115 | </BorderStyle>
|
|---|
| 116 | </Style>
|
|---|
| 117 | </MajorGridLines>
|
|---|
| 118 | <MinorGridLines>
|
|---|
| 119 | <Style>
|
|---|
| 120 | <BorderStyle>
|
|---|
| 121 | <Default>Solid</Default>
|
|---|
| 122 | </BorderStyle>
|
|---|
| 123 | </Style>
|
|---|
| 124 | </MinorGridLines>
|
|---|
| 125 | <MajorTickMarks>Outside</MajorTickMarks>
|
|---|
| 126 | <Min>0</Min>
|
|---|
| 127 | <Margin>true</Margin>
|
|---|
| 128 | <Visible>true</Visible>
|
|---|
| 129 | </Axis>
|
|---|
| 130 | </CategoryAxis>
|
|---|
| 131 | <PointWidth>0</PointWidth>
|
|---|
| 132 | <ThreeDProperties>
|
|---|
| 133 | <Enabled>true</Enabled>
|
|---|
| 134 | <Shading>Real</Shading>
|
|---|
| 135 | <DrawingStyle>Cylinder</DrawingStyle>
|
|---|
| 136 | </ThreeDProperties>
|
|---|
| 137 | <DataSetName>ZestwienieWplywyNaNumer</DataSetName>
|
|---|
| 138 | <SeriesGroupings>
|
|---|
| 139 | <SeriesGrouping>
|
|---|
| 140 | <StaticSeries>
|
|---|
| 141 | <StaticMember>
|
|---|
| 142 | <Label>WpÅywy</Label>
|
|---|
| 143 | </StaticMember>
|
|---|
| 144 | </StaticSeries>
|
|---|
| 145 | </SeriesGrouping>
|
|---|
| 146 | </SeriesGroupings>
|
|---|
| 147 | <PlotArea>
|
|---|
| 148 | <Style>
|
|---|
| 149 | <BorderStyle>
|
|---|
| 150 | <Default>Solid</Default>
|
|---|
| 151 | </BorderStyle>
|
|---|
| 152 | <BackgroundColor>LightGrey</BackgroundColor>
|
|---|
| 153 | </Style>
|
|---|
| 154 | </PlotArea>
|
|---|
| 155 | <ValueAxis>
|
|---|
| 156 | <Axis>
|
|---|
| 157 | <Title />
|
|---|
| 158 | <MajorGridLines>
|
|---|
| 159 | <ShowGridLines>true</ShowGridLines>
|
|---|
| 160 | <Style>
|
|---|
| 161 | <BorderStyle>
|
|---|
| 162 | <Default>Solid</Default>
|
|---|
| 163 | </BorderStyle>
|
|---|
| 164 | </Style>
|
|---|
| 165 | </MajorGridLines>
|
|---|
| 166 | <MinorGridLines>
|
|---|
| 167 | <Style>
|
|---|
| 168 | <BorderStyle>
|
|---|
| 169 | <Default>Solid</Default>
|
|---|
| 170 | </BorderStyle>
|
|---|
| 171 | </Style>
|
|---|
| 172 | </MinorGridLines>
|
|---|
| 173 | <MajorTickMarks>Outside</MajorTickMarks>
|
|---|
| 174 | <Min>0</Min>
|
|---|
| 175 | <Margin>true</Margin>
|
|---|
| 176 | <Visible>true</Visible>
|
|---|
| 177 | <Scalar>true</Scalar>
|
|---|
| 178 | </Axis>
|
|---|
| 179 | </ValueAxis>
|
|---|
| 180 | <Type>Column</Type>
|
|---|
| 181 | <CategoryGroupings>
|
|---|
| 182 | <CategoryGrouping>
|
|---|
| 183 | <DynamicCategories>
|
|---|
| 184 | <Grouping Name="chart1_CategoryGroup1">
|
|---|
| 185 | <GroupExpressions>
|
|---|
| 186 | <GroupExpression>=Fields!NR.Value</GroupExpression>
|
|---|
| 187 | </GroupExpressions>
|
|---|
| 188 | </Grouping>
|
|---|
| 189 | <Label>=Fields!NR.Value</Label>
|
|---|
| 190 | </DynamicCategories>
|
|---|
| 191 | </CategoryGrouping>
|
|---|
| 192 | </CategoryGroupings>
|
|---|
| 193 | <Palette>Light</Palette>
|
|---|
| 194 | <ChartData>
|
|---|
| 195 | <ChartSeries>
|
|---|
| 196 | <DataPoints>
|
|---|
| 197 | <DataPoint>
|
|---|
| 198 | <DataValues>
|
|---|
| 199 | <DataValue>
|
|---|
| 200 | <Value>=Sum(Fields!NT.Value)</Value>
|
|---|
| 201 | </DataValue>
|
|---|
| 202 | </DataValues>
|
|---|
| 203 | <DataLabel>
|
|---|
| 204 | <Style />
|
|---|
| 205 | <Value>=Code.Formatuj(Fields!NT.Value)</Value>
|
|---|
| 206 | <Position>Top</Position>
|
|---|
| 207 | <Rotation>-90</Rotation>
|
|---|
| 208 | <Visible>true</Visible>
|
|---|
| 209 | </DataLabel>
|
|---|
| 210 | <Marker>
|
|---|
| 211 | <Size>6pt</Size>
|
|---|
| 212 | </Marker>
|
|---|
| 213 | </DataPoint>
|
|---|
| 214 | </DataPoints>
|
|---|
| 215 | </ChartSeries>
|
|---|
| 216 | </ChartData>
|
|---|
| 217 | <Style>
|
|---|
| 218 | <Format>C</Format>
|
|---|
| 219 | <BackgroundColor>White</BackgroundColor>
|
|---|
| 220 | <Language>pl-PL</Language>
|
|---|
| 221 | </Style>
|
|---|
| 222 | </Chart>
|
|---|
| 223 | </ReportItems>
|
|---|
| 224 | <Height>15.5cm</Height>
|
|---|
| 225 | </Body>
|
|---|
| 226 | <rd:ReportID>4c95e0c2-046b-4de9-9e65-b6e2246f89f2</rd:ReportID>
|
|---|
| 227 | <LeftMargin>1cm</LeftMargin>
|
|---|
| 228 | <DataSets>
|
|---|
| 229 | <DataSet Name="ZestwienieWplywyNaNumer">
|
|---|
| 230 | <Query>
|
|---|
| 231 | <CommandType>StoredProcedure</CommandType>
|
|---|
| 232 | <CommandText>PROC_ZESTAWIENIE_WPLYWOW_NA_NUMER</CommandText>
|
|---|
| 233 | <QueryParameters>
|
|---|
| 234 | <QueryParameter Name="@AKWIZYTOR">
|
|---|
| 235 | <Value>=Parameters!AKWIZYTOR.Value</Value>
|
|---|
| 236 | </QueryParameter>
|
|---|
| 237 | <QueryParameter Name="@OD">
|
|---|
| 238 | <Value>=Parameters!OD.Value</Value>
|
|---|
| 239 | </QueryParameter>
|
|---|
| 240 | <QueryParameter Name="@DO">
|
|---|
| 241 | <Value>=Parameters!DO.Value</Value>
|
|---|
| 242 | </QueryParameter>
|
|---|
| 243 | <QueryParameter Name="@TYT">
|
|---|
| 244 | <Value>=Parameters!TYT.Value</Value>
|
|---|
| 245 | </QueryParameter>
|
|---|
| 246 | </QueryParameters>
|
|---|
| 247 | <DataSourceName>BAZA_REKLAM</DataSourceName>
|
|---|
| 248 | </Query>
|
|---|
| 249 | <Fields>
|
|---|
| 250 | <Field Name="NR">
|
|---|
| 251 | <rd:TypeName>System.Int16</rd:TypeName>
|
|---|
| 252 | <DataField>NR</DataField>
|
|---|
| 253 | </Field>
|
|---|
| 254 | <Field Name="NT">
|
|---|
| 255 | <rd:TypeName>System.Double</rd:TypeName>
|
|---|
| 256 | <DataField>NT</DataField>
|
|---|
| 257 | </Field>
|
|---|
| 258 | </Fields>
|
|---|
| 259 | </DataSet>
|
|---|
| 260 | <DataSet Name="ListaTytulow">
|
|---|
| 261 | <Query>
|
|---|
| 262 | <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
|---|
| 263 | <CommandText>SELECT SYMB
|
|---|
| 264 | FROM [LISTA TYTUÅÃW]
|
|---|
| 265 | WHERE (st_aktywny = - 1)</CommandText>
|
|---|
| 266 | <DataSourceName>BAZA_REKLAM</DataSourceName>
|
|---|
| 267 | </Query>
|
|---|
| 268 | <Fields>
|
|---|
| 269 | <Field Name="SYMB">
|
|---|
| 270 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 271 | <DataField>SYMB</DataField>
|
|---|
| 272 | </Field>
|
|---|
| 273 | </Fields>
|
|---|
| 274 | </DataSet>
|
|---|
| 275 | <DataSet Name="ListaAgentow">
|
|---|
| 276 | <Query>
|
|---|
| 277 | <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
|---|
| 278 | <CommandText>SELECT A.ID_AGENTA, A.Symbol, A2.Symbol agencja
|
|---|
| 279 | FROM AGENCI A left join Agencje A2
|
|---|
| 280 | on A.ID_AGENCJI = A2.ID_Agencji
|
|---|
| 281 | where aktywny=1 AND (A2.Id_agencji=@agencja) AND (@prawa_agent is null OR A.Symbol=@prawa_agent)
|
|---|
| 282 | order by A.Symbol</CommandText>
|
|---|
| 283 | <QueryParameters>
|
|---|
| 284 | <QueryParameter Name="@agencja">
|
|---|
| 285 | <Value>=Parameters!AGENCJA.Value</Value>
|
|---|
| 286 | </QueryParameter>
|
|---|
| 287 | <QueryParameter Name="@prawa_agent">
|
|---|
| 288 | <Value>=Parameters!prawa_agent.Value</Value>
|
|---|
| 289 | </QueryParameter>
|
|---|
| 290 | </QueryParameters>
|
|---|
| 291 | <DataSourceName>BAZA_REKLAM</DataSourceName>
|
|---|
| 292 | </Query>
|
|---|
| 293 | <Fields>
|
|---|
| 294 | <Field Name="ID_AGENTA">
|
|---|
| 295 | <rd:TypeName>System.Int32</rd:TypeName>
|
|---|
| 296 | <DataField>ID_AGENTA</DataField>
|
|---|
| 297 | </Field>
|
|---|
| 298 | <Field Name="Symbol">
|
|---|
| 299 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 300 | <DataField>Symbol</DataField>
|
|---|
| 301 | </Field>
|
|---|
| 302 | <Field Name="agencja">
|
|---|
| 303 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 304 | <DataField>agencja</DataField>
|
|---|
| 305 | </Field>
|
|---|
| 306 | </Fields>
|
|---|
| 307 | </DataSet>
|
|---|
| 308 | <DataSet Name="ListaAgencji">
|
|---|
| 309 | <Query>
|
|---|
| 310 | <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
|---|
| 311 | <CommandText>SELECT Id_agencji, Symbol
|
|---|
| 312 | FROM AGENCJE where aktywna=1 and (@prawa_agencje is null or @prawa_agencje= Id_agencji)</CommandText>
|
|---|
| 313 | <QueryParameters>
|
|---|
| 314 | <QueryParameter Name="@prawa_agencje">
|
|---|
| 315 | <Value>=Parameters!prawa_agencje.Value</Value>
|
|---|
| 316 | </QueryParameter>
|
|---|
| 317 | </QueryParameters>
|
|---|
| 318 | <DataSourceName>BAZA_REKLAM</DataSourceName>
|
|---|
| 319 | </Query>
|
|---|
| 320 | <Fields>
|
|---|
| 321 | <Field Name="Id_agencji">
|
|---|
| 322 | <rd:TypeName>System.Int32</rd:TypeName>
|
|---|
| 323 | <DataField>Id_agencji</DataField>
|
|---|
| 324 | </Field>
|
|---|
| 325 | <Field Name="Symbol">
|
|---|
| 326 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 327 | <DataField>Symbol</DataField>
|
|---|
| 328 | </Field>
|
|---|
| 329 | </Fields>
|
|---|
| 330 | </DataSet>
|
|---|
| 331 | </DataSets>
|
|---|
| 332 | <Code>Public Shared Function Formatuj(ByVal Value As Integer) As String
|
|---|
| 333 | Formatuj = Format(Value, "### ### ##0.00 zÅ")
|
|---|
| 334 | End Function</Code>
|
|---|
| 335 | <Width>27.5cm</Width>
|
|---|
| 336 | <InteractiveHeight>29.7cm</InteractiveHeight>
|
|---|
| 337 | <Language>en-US</Language>
|
|---|
| 338 | <TopMargin>2.5cm</TopMargin>
|
|---|
| 339 | <PageHeight>21cm</PageHeight>
|
|---|
| 340 | </Report> |
|---|