<?xml version="1.0" encoding="utf-8"?> <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner"> <DataSources> <DataSource Name="MyDsn"> <rd:DataSourceID>fa7979a2-2b44-434a-a851-1d26aa3f1826</rd:DataSourceID> <ConnectionProperties> <DataProvider>SQL</DataProvider> <ConnectString>Data Source=HYPERBOREA;Initial Catalog=DB9975</ConnectString> <IntegratedSecurity>true</IntegratedSecurity> </ConnectionProperties> </DataSource> </DataSources> <InteractiveHeight>11in</InteractiveHeight> <rd:DrawGrid>true</rd:DrawGrid> <InteractiveWidth>8.5in</InteractiveWidth> <rd:SnapToGrid>true</rd:SnapToGrid> <RightMargin>1in</RightMargin> <LeftMargin>1in</LeftMargin> <BottomMargin>1in</BottomMargin> <rd:ReportID>24ffc40f-2db4-49cb-9f86-daf42cd213a1</rd:ReportID> <DataSets> <DataSet Name="MyDsn"> <Fields> <Field Name="Status"> <DataField>Status</DataField> <rd:TypeName>System.String</rd:TypeName> </Field> <Field Name="Name"> <DataField>Name</DataField> <rd:TypeName>System.String</rd:TypeName> </Field> <Field Name="DOB"> <DataField>DOB</DataField> <rd:TypeName>System.DateTime</rd:TypeName> </Field> <Field Name="FullTimeSalary"> <DataField>FullTimeSalary</DataField> <rd:TypeName>System.Decimal</rd:TypeName> </Field> <Field Name="PartTimeSalary"> <DataField>PartTimeSalary</DataField> <rd:TypeName>System.Decimal</rd:TypeName> </Field> <Field Name="FullTimeLastRaise"> <DataField>FullTimeLastRaise</DataField> <rd:TypeName>System.DateTime</rd:TypeName> </Field> <Field Name="PartTimeLastRaise"> <DataField>PartTimeLastRaise</DataField> <rd:TypeName>System.DateTime</rd:TypeName> </Field> </Fields> <Query> <DataSourceName>MyDsn</DataSourceName> <CommandText>SELECT PERSON.EmploymentStatus AS Status, dbo.PersonName(PERSON.Id) AS Name, PERSON.DateOfBirth AS DOB, FULL_TIME.AnnualWage AS FullTimeSalary, PART_TIME.HourlySalary AS PartTimeSalary, FULL_TIME.DateOfLastRaise AS FullTimeLastRaise, PART_TIME.DateOfLastRaise AS PartTimeLastRaise FROM PERSON LEFT JOIN FULL_TIME ON PERSON.Id = FULL_TIME.Id LEFT JOIN PART_TIME ON PERSON.Id = PART_TIME.Id ORDER BY PERSON.EmploymentStatus, Name</CommandText> <rd:UseGenericDesigner>true</rd:UseGenericDesigner> </Query> </DataSet> </DataSets> <Width>6in</Width> <Body> <ReportItems> <Textbox Name="textbox1"> <rd:DefaultName>textbox1</rd:DefaultName> <Style> <Color>SteelBlue</Color> <FontFamily>Tahoma</FontFamily> <FontSize>20pt</FontSize> <FontWeight>700</FontWeight> <PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom> </Style> <ZIndex>1</ZIndex> <CanGrow>true</CanGrow> <Height>0.36in</Height> <Value>HWA2_P1_FPT</Value> </Textbox> <Table Name="table1"> <DataSetName>MyDsn</DataSetName> <Top>0.36in</Top> <Details> <TableRows> <TableRow> <TableCells> <TableCell> <ReportItems> <Textbox Name="Status"> <rd:DefaultName>Status</rd:DefaultName> <HideDuplicates>MyDsn</HideDuplicates> <Style> <BorderColor> <Default>LightGrey</Default> </BorderColor> <BorderStyle> <Default>Solid</Default> </BorderStyle> <FontFamily>Tahoma</FontFamily> <FontWeight>700</FontWeight> <TextAlign>Left</TextAlign> <PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom> </Style> <ZIndex>4</ZIndex> <CanGrow>true</CanGrow> <Value>=IIf(Fields!Status.Value = "F", "Full Time", "Part Time")</Value> </Textbox> </ReportItems> </TableCell> <TableCell> <ReportItems> <Textbox Name="Name"> <rd:DefaultName>Name</rd:DefaultName> <Style> <BorderColor> <Default>LightGrey</Default> </BorderColor> <BorderStyle> <Default>Solid</Default> </BorderStyle> <FontFamily>Tahoma</FontFamily> <TextAlign>Left</TextAlign> <PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom> </Style> <ZIndex>3</ZIndex> <CanGrow>true</CanGrow> <Value>=Fields!Name.Value</Value> </Textbox> </ReportItems> </TableCell> <TableCell> <ReportItems> <Textbox Name="DOB"> <rd:DefaultName>DOB</rd:DefaultName> <Style> <BorderColor> <Default>LightGrey</Default> </BorderColor> <BorderStyle> <Default>Solid</Default> </BorderStyle> <FontFamily>Tahoma</FontFamily> <Format>MM/dd/yyyy</Format> <TextAlign>Left</TextAlign> <PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom> </Style> <ZIndex>2</ZIndex> <CanGrow>true</CanGrow> <Value>=Fields!DOB.Value</Value> </Textbox> </ReportItems> </TableCell> <TableCell> <ReportItems> <Textbox Name="AnnualWage"> <rd:DefaultName>AnnualWage</rd:DefaultName> <Style> <BorderColor> <Default>LightGrey</Default> </BorderColor> <BorderStyle> <Default>Solid</Default> </BorderStyle> <FontFamily>Tahoma</FontFamily> <Format>C</Format> <TextAlign>Left</TextAlign> <PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom> </Style> <ZIndex>1</ZIndex> <CanGrow>true</CanGrow> <Value>=IIf(Fields!Status.Value = "F", Fields!FullTimeSalary.Value, Fields!PartTimeSalary.Value)</Value> </Textbox> </ReportItems> </TableCell> <TableCell> <ReportItems> <Textbox Name="DateOfLastRaise"> <rd:DefaultName>DateOfLastRaise</rd:DefaultName> <Style> <BorderColor> <Default>LightGrey</Default> </BorderColor> <BorderStyle> <Default>Solid</Default> </BorderStyle> <FontFamily>Tahoma</FontFamily> <Format>MM/dd/yyyy</Format> <TextAlign>Left</TextAlign> <PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom> </Style> <CanGrow>true</CanGrow> <Value>=IIf(Fields!Status.Value = "F", Fields!FullTimeLastRaise.Value, Fields!PartTimeLastRaise.Value)</Value> </Textbox> </ReportItems> </TableCell> </TableCells> <Height>0.21in</Height> </TableRow> </TableRows> </Details> <Header> <TableRows> <TableRow> <TableCells> <TableCell> <ReportItems> <Textbox Name="textbox2"> <rd:DefaultName>textbox2</rd:DefaultName> <Style> <Color>White</Color> <BackgroundColor>SteelBlue</BackgroundColor> <BorderColor> <Default>LightGrey</Default> </BorderColor> <BorderStyle> <Default>Solid</Default> </BorderStyle> <FontFamily>Tahoma</FontFamily> <FontSize>11pt</FontSize> <FontWeight>700</FontWeight> <TextAlign>Left</TextAlign> <PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom> </Style> <ZIndex>9</ZIndex> <CanGrow>true</CanGrow> <Value>Status</Value> </Textbox> </ReportItems> </TableCell> <TableCell> <ReportItems> <Textbox Name="textbox3"> <rd:DefaultName>textbox3</rd:DefaultName> <Style> <Color>White</Color> <BackgroundColor>SteelBlue</BackgroundColor> <BorderColor> <Default>LightGrey</Default> </BorderColor> <BorderStyle> <Default>Solid</Default> </BorderStyle> <FontFamily>Tahoma</FontFamily> <FontSize>11pt</FontSize> <FontWeight>700</FontWeight> <TextAlign>Left</TextAlign> <PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom> </Style> <ZIndex>8</ZIndex> <CanGrow>true</CanGrow> <Value>Name</Value> </Textbox> </ReportItems> </TableCell> <TableCell> <ReportItems> <Textbox Name="textbox4"> <rd:DefaultName>textbox4</rd:DefaultName> <Style> <Color>White</Color> <BackgroundColor>SteelBlue</BackgroundColor> <BorderColor> <Default>LightGrey</Default> </BorderColor> <BorderStyle> <Default>Solid</Default> </BorderStyle> <FontFamily>Tahoma</FontFamily> <FontSize>11pt</FontSize> <FontWeight>700</FontWeight> <TextAlign>Left</TextAlign> <PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom> </Style> <ZIndex>7</ZIndex> <CanGrow>true</CanGrow> <Value>DOB</Value> </Textbox> </ReportItems> </TableCell> <TableCell> <ReportItems> <Textbox Name="textbox5"> <rd:DefaultName>textbox5</rd:DefaultName> <Style> <Color>White</Color> <BackgroundColor>SteelBlue</BackgroundColor> <BorderColor> <Default>LightGrey</Default> </BorderColor> <BorderStyle> <Default>Solid</Default> </BorderStyle> <FontFamily>Tahoma</FontFamily> <FontSize>11pt</FontSize> <FontWeight>700</FontWeight> <TextAlign>Left</TextAlign> <PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom> </Style> <ZIndex>6</ZIndex> <CanGrow>true</CanGrow> <Value>Salary</Value> </Textbox> </ReportItems> </TableCell> <TableCell> <ReportItems> <Textbox Name="textbox7"> <rd:DefaultName>textbox7</rd:DefaultName> <Style> <Color>White</Color> <BackgroundColor>SteelBlue</BackgroundColor> <BorderColor> <Default>LightGrey</Default> </BorderColor> <BorderStyle> <Default>Solid</Default> </BorderStyle> <FontFamily>Tahoma</FontFamily> <FontSize>11pt</FontSize> <FontWeight>700</FontWeight> <TextAlign>Left</TextAlign> <PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom> </Style> <ZIndex>5</ZIndex> <CanGrow>true</CanGrow> <Value>Last Raise</Value> </Textbox> </ReportItems> </TableCell> </TableCells> <Height>0.22in</Height> </TableRow> </TableRows> <RepeatOnNewPage>true</RepeatOnNewPage> </Header> <TableColumns> <TableColumn> <Width>1in</Width> </TableColumn> <TableColumn> <Width>2in</Width> </TableColumn> <TableColumn> <Width>1in</Width> </TableColumn> <TableColumn> <Width>1in</Width> </TableColumn> <TableColumn> <Width>1in</Width> </TableColumn> </TableColumns> </Table> </ReportItems> <Height>0.79in</Height> </Body> <Language>en-US</Language> <TopMargin>1in</TopMargin> </Report>