| [2] | 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="testowe">
|
|---|
| 5 | <ConnectionProperties>
|
|---|
| 6 | <ConnectString>Data Source=DOROTA-PC\SQL2005MSDN;Initial Catalog=BAZA_REKLAM;Integrated Security=True</ConnectString>
|
|---|
| 7 | <DataProvider>SQL</DataProvider>
|
|---|
| 8 | </ConnectionProperties>
|
|---|
| 9 | <rd:DataSourceID>4591b562-c648-40e2-9985-a67d1d23b7a7</rd:DataSourceID>
|
|---|
| 10 | </DataSource>
|
|---|
| 11 | </DataSources>
|
|---|
| 12 | <RightMargin>1cm</RightMargin>
|
|---|
| 13 | <PageWidth>21cm</PageWidth>
|
|---|
| 14 | <ReportParameters>
|
|---|
| 15 | <ReportParameter Name="customerId">
|
|---|
| 16 | <DataType>Integer</DataType>
|
|---|
| 17 | <AllowBlank>true</AllowBlank>
|
|---|
| 18 | <Prompt>customerId</Prompt>
|
|---|
| 19 | </ReportParameter>
|
|---|
| 20 | </ReportParameters>
|
|---|
| 21 | <rd:DrawGrid>true</rd:DrawGrid>
|
|---|
| 22 | <InteractiveWidth>21cm</InteractiveWidth>
|
|---|
| 23 | <rd:GridSpacing>0.25cm</rd:GridSpacing>
|
|---|
| 24 | <rd:SnapToGrid>true</rd:SnapToGrid>
|
|---|
| 25 | <Body>
|
|---|
| 26 | <ColumnSpacing>1cm</ColumnSpacing>
|
|---|
| 27 | <ReportItems>
|
|---|
| 28 | <Matrix Name="matrix1">
|
|---|
| 29 | <MatrixColumns>
|
|---|
| 30 | <MatrixColumn>
|
|---|
| 31 | <Width>1.25cm</Width>
|
|---|
| 32 | </MatrixColumn>
|
|---|
| 33 | </MatrixColumns>
|
|---|
| 34 | <RowGroupings>
|
|---|
| 35 | <RowGrouping>
|
|---|
| 36 | <Width>0.25cm</Width>
|
|---|
| 37 | <DynamicRows>
|
|---|
| 38 | <ReportItems>
|
|---|
| 39 | <Textbox Name="textbox6">
|
|---|
| 40 | <rd:DefaultName>textbox6</rd:DefaultName>
|
|---|
| 41 | <ZIndex>1</ZIndex>
|
|---|
| 42 | <Style>
|
|---|
| 43 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 44 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 45 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 46 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 47 | </Style>
|
|---|
| 48 | <CanGrow>true</CanGrow>
|
|---|
| 49 | <Value />
|
|---|
| 50 | </Textbox>
|
|---|
| 51 | </ReportItems>
|
|---|
| 52 | <Grouping Name="matrix1_RowGroup1">
|
|---|
| 53 | <GroupExpressions>
|
|---|
| 54 | <GroupExpression />
|
|---|
| 55 | </GroupExpressions>
|
|---|
| 56 | </Grouping>
|
|---|
| 57 | </DynamicRows>
|
|---|
| 58 | </RowGrouping>
|
|---|
| 59 | </RowGroupings>
|
|---|
| 60 | <ColumnGroupings>
|
|---|
| 61 | <ColumnGrouping>
|
|---|
| 62 | <DynamicColumns>
|
|---|
| 63 | <ReportItems>
|
|---|
| 64 | <Textbox Name="NR_1">
|
|---|
| 65 | <rd:DefaultName>NR_1</rd:DefaultName>
|
|---|
| 66 | <ZIndex>2</ZIndex>
|
|---|
| 67 | <Style>
|
|---|
| 68 | <TextAlign>Right</TextAlign>
|
|---|
| 69 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 70 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 71 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 72 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 73 | </Style>
|
|---|
| 74 | <CanGrow>true</CanGrow>
|
|---|
| 75 | <Value />
|
|---|
| 76 | </Textbox>
|
|---|
| 77 | </ReportItems>
|
|---|
| 78 | <Grouping Name="matrix1_NR">
|
|---|
| 79 | <GroupExpressions>
|
|---|
| 80 | <GroupExpression>=Fields!NR.Value</GroupExpression>
|
|---|
| 81 | </GroupExpressions>
|
|---|
| 82 | </Grouping>
|
|---|
| 83 | </DynamicColumns>
|
|---|
| 84 | <Height>0.21188cm</Height>
|
|---|
| 85 | </ColumnGrouping>
|
|---|
| 86 | </ColumnGroupings>
|
|---|
| 87 | <LayoutDirection>RTL</LayoutDirection>
|
|---|
| 88 | <DataSetName>REKLAMADataSet_ListaReklamDoWydaniaNr</DataSetName>
|
|---|
| 89 | <Filters>
|
|---|
| 90 | <Filter>
|
|---|
| 91 | <Operator>Equal</Operator>
|
|---|
| 92 | <FilterValues>
|
|---|
| 93 | <FilterValue>=Parameters!customerId.Value</FilterValue>
|
|---|
| 94 | </FilterValues>
|
|---|
| 95 | <FilterExpression>=Fields!CustomerID.Value</FilterExpression>
|
|---|
| 96 | </Filter>
|
|---|
| 97 | </Filters>
|
|---|
| 98 | <Corner>
|
|---|
| 99 | <ReportItems>
|
|---|
| 100 | <Textbox Name="textbox2">
|
|---|
| 101 | <rd:DefaultName>textbox2</rd:DefaultName>
|
|---|
| 102 | <ZIndex>3</ZIndex>
|
|---|
| 103 | <Style>
|
|---|
| 104 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 105 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 106 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 107 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 108 | </Style>
|
|---|
| 109 | <CanGrow>true</CanGrow>
|
|---|
| 110 | <Value />
|
|---|
| 111 | </Textbox>
|
|---|
| 112 | </ReportItems>
|
|---|
| 113 | </Corner>
|
|---|
| 114 | <MatrixRows>
|
|---|
| 115 | <MatrixRow>
|
|---|
| 116 | <Height>0.53812cm</Height>
|
|---|
| 117 | <MatrixCells>
|
|---|
| 118 | <MatrixCell>
|
|---|
| 119 | <ReportItems>
|
|---|
| 120 | <Textbox Name="NR_2">
|
|---|
| 121 | <rd:DefaultName>NR_2</rd:DefaultName>
|
|---|
| 122 | <Style>
|
|---|
| 123 | <BorderStyle>
|
|---|
| 124 | <Left>None</Left>
|
|---|
| 125 | <Right>Solid</Right>
|
|---|
| 126 | </BorderStyle>
|
|---|
| 127 | <TextAlign>Center</TextAlign>
|
|---|
| 128 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 129 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 130 | <FontWeight>700</FontWeight>
|
|---|
| 131 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 132 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 133 | </Style>
|
|---|
| 134 | <CanGrow>true</CanGrow>
|
|---|
| 135 | <Value>=Fields!NR.Value</Value>
|
|---|
| 136 | </Textbox>
|
|---|
| 137 | </ReportItems>
|
|---|
| 138 | </MatrixCell>
|
|---|
| 139 | </MatrixCells>
|
|---|
| 140 | </MatrixRow>
|
|---|
| 141 | </MatrixRows>
|
|---|
| 142 | </Matrix>
|
|---|
| 143 | </ReportItems>
|
|---|
| 144 | <Height>0.75cm</Height>
|
|---|
| 145 | </Body>
|
|---|
| 146 | <rd:ReportID>0afcc0e8-4ade-480e-a186-b9d2cb83994f</rd:ReportID>
|
|---|
| 147 | <LeftMargin>1cm</LeftMargin>
|
|---|
| 148 | <DataSets>
|
|---|
| 149 | <DataSet Name="REKLAMADataSet_ListaReklamDoWydaniaNr">
|
|---|
| 150 | <rd:DataSetInfo>
|
|---|
| 151 | <rd:TableAdapterGetDataMethod>GetData</rd:TableAdapterGetDataMethod>
|
|---|
| 152 | <rd:DataSetName>REKLAMADataSet</rd:DataSetName>
|
|---|
| 153 | <rd:TableAdapterFillMethod>Fill</rd:TableAdapterFillMethod>
|
|---|
| 154 | <rd:TableAdapterName>ListaReklamDoWydaniaNrTableAdapter</rd:TableAdapterName>
|
|---|
| 155 | <rd:TableName>ListaReklamDoWydaniaNr</rd:TableName>
|
|---|
| 156 | </rd:DataSetInfo>
|
|---|
| 157 | <Query>
|
|---|
| 158 | <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
|---|
| 159 | <CommandText>SELECT R.ReklamaID, R.TYTUÅ, R.[ID REKLAMY], R.[NICK NAME], [UKAÅ»E SIÄ W NR].[Nr Wydania] AS NR, R.[ZATWIERDZONO DO DRUKU], R.GRZBIET, |
|---|
| 160 | A.Symbol AS agencja, A.miasto, R.[SYMBOL AKWIZYTORA], CONVERT(smallint, 0) AS strona, CONVERT(bit, 0) AS jestCDR, CONVERT(bit, 0) AS jestEPS, |
|---|
| 161 | CONVERT(bit, 0) AS jestJPG, CONVERT(bit, 0) AS datyOK, REKLAMA_STRONA.STRONA AS strona_zlecenie, R.CustomerID, [UKAÅ»E SIÄ W NR].ID |
|---|
| 162 | FROM AGENCI AS A2 LEFT OUTER JOIN |
|---|
| 163 | AGENCJE AS A ON A.Id_agencji = A2.ID_AGENCJI INNER JOIN |
|---|
| 164 | REKLAMA AS R ON A2.Symbol = R.[SYMBOL AKWIZYTORA] INNER JOIN |
|---|
| 165 | [UKAÅ»E SIÄ W NR] ON R.ReklamaID = [UKAÅ»E SIÄ W NR].ReklamaId LEFT OUTER JOIN |
|---|
| 166 | REKLAMA_STRONA ON R.ReklamaID = REKLAMA_STRONA.ReklamaId AND [UKAÅ»E SIÄ W NR].[Nr Wydania] = REKLAMA_STRONA.NR_WYDANIA |
|---|
| 167 | WHERE (R.[ZATWIERDZONO DO DRUKU] = 1) AND (R.TYTUÅ = @tytul) AND ([UKAÅ»E SIÄ W NR].[Nr Wydania] = @nr)</CommandText>
|
|---|
| 168 | <DataSourceName>testowe</DataSourceName>
|
|---|
| 169 | </Query>
|
|---|
| 170 | <Fields>
|
|---|
| 171 | <Field Name="ReklamaID">
|
|---|
| 172 | <rd:TypeName>System.Int32</rd:TypeName>
|
|---|
| 173 | <DataField>ReklamaID</DataField>
|
|---|
| 174 | </Field>
|
|---|
| 175 | <Field Name="TYTUÅ">
|
|---|
| 176 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 177 | <DataField>TYTUÅ</DataField>
|
|---|
| 178 | </Field>
|
|---|
| 179 | <Field Name="ID_REKLAMY">
|
|---|
| 180 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 181 | <DataField>ID REKLAMY</DataField>
|
|---|
| 182 | </Field>
|
|---|
| 183 | <Field Name="NICK_NAME">
|
|---|
| 184 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 185 | <DataField>NICK NAME</DataField>
|
|---|
| 186 | </Field>
|
|---|
| 187 | <Field Name="NR">
|
|---|
| 188 | <rd:TypeName>System.Int16</rd:TypeName>
|
|---|
| 189 | <DataField>NR</DataField>
|
|---|
| 190 | </Field>
|
|---|
| 191 | <Field Name="ZATWIERDZONO_DO_DRUKU">
|
|---|
| 192 | <rd:TypeName>System.Boolean</rd:TypeName>
|
|---|
| 193 | <DataField>ZATWIERDZONO DO DRUKU</DataField>
|
|---|
| 194 | </Field>
|
|---|
| 195 | <Field Name="agencja">
|
|---|
| 196 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 197 | <DataField>agencja</DataField>
|
|---|
| 198 | </Field>
|
|---|
| 199 | <Field Name="SYMBOL_AKWIZYTORA">
|
|---|
| 200 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 201 | <DataField>SYMBOL AKWIZYTORA</DataField>
|
|---|
| 202 | </Field>
|
|---|
| 203 | <Field Name="GRZBIET">
|
|---|
| 204 | <rd:TypeName>System.Int32</rd:TypeName>
|
|---|
| 205 | <DataField>GRZBIET</DataField>
|
|---|
| 206 | </Field>
|
|---|
| 207 | <Field Name="miasto">
|
|---|
| 208 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 209 | <DataField>miasto</DataField>
|
|---|
| 210 | </Field>
|
|---|
| 211 | <Field Name="jestCDR">
|
|---|
| 212 | <rd:TypeName>System.Boolean</rd:TypeName>
|
|---|
| 213 | <DataField>jestCDR</DataField>
|
|---|
| 214 | </Field>
|
|---|
| 215 | <Field Name="jestEPS">
|
|---|
| 216 | <rd:TypeName>System.Boolean</rd:TypeName>
|
|---|
| 217 | <DataField>jestEPS</DataField>
|
|---|
| 218 | </Field>
|
|---|
| 219 | <Field Name="jestJPG">
|
|---|
| 220 | <rd:TypeName>System.Boolean</rd:TypeName>
|
|---|
| 221 | <DataField>jestJPG</DataField>
|
|---|
| 222 | </Field>
|
|---|
| 223 | <Field Name="datyOK">
|
|---|
| 224 | <rd:TypeName>System.Boolean</rd:TypeName>
|
|---|
| 225 | <DataField>datyOK</DataField>
|
|---|
| 226 | </Field>
|
|---|
| 227 | <Field Name="strona_zlecenie">
|
|---|
| 228 | <rd:TypeName>System.Int16</rd:TypeName>
|
|---|
| 229 | <DataField>strona_zlecenie</DataField>
|
|---|
| 230 | </Field>
|
|---|
| 231 | <Field Name="CustomerID">
|
|---|
| 232 | <rd:TypeName>System.Int32</rd:TypeName>
|
|---|
| 233 | <DataField>CustomerID</DataField>
|
|---|
| 234 | </Field>
|
|---|
| 235 | <Field Name="strona">
|
|---|
| 236 | <rd:TypeName>System.Int16</rd:TypeName>
|
|---|
| 237 | <DataField>strona</DataField>
|
|---|
| 238 | </Field>
|
|---|
| 239 | <Field Name="ID">
|
|---|
| 240 | <rd:TypeName>System.Decimal</rd:TypeName>
|
|---|
| 241 | <DataField>ID</DataField>
|
|---|
| 242 | </Field>
|
|---|
| 243 | </Fields>
|
|---|
| 244 | </DataSet>
|
|---|
| 245 | </DataSets>
|
|---|
| 246 | <Width>1.5cm</Width>
|
|---|
| 247 | <InteractiveHeight>29.7cm</InteractiveHeight>
|
|---|
| 248 | <Language>en-US</Language>
|
|---|
| 249 | <TopMargin>1cm</TopMargin>
|
|---|
| 250 | <PageHeight>29.7cm</PageHeight>
|
|---|
| 251 | </Report> |
|---|