home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
moodle.waes.ac.uk
/
moodle.waes.ac.uk.zip
/
moodle.waes.ac.uk
/
TMG
/
SP1-TMG-KB981324-AMD64-ENU.msp
/
PCW_CAB_SHFx2
/
F2143_msfpcui.dll
/
BINARY
/
25496
< prev
next >
Wrap
Extensible Markup Language
|
2010-06-15
|
9KB
|
257 lines
<?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="ISA_RS_Db">
<rd:DataSourceID>4db3d75c-d76f-4a9b-854c-54ade963444c</rd:DataSourceID>
<DataSourceReference>ISA_RS_Db</DataSourceReference>
</DataSource>
</DataSources>
<InteractiveHeight>11in</InteractiveHeight>
<ReportParameters>
<ReportParameter Name="FromDate">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>=DateTime.Today.AddDays(-1).AddSeconds(1)</Value>
</Values>
</DefaultValue>
<Prompt>From Date:</Prompt>
</ReportParameter>
<ReportParameter Name="ToDate">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>=DateTime.Today.AddSeconds(1)</Value>
</Values>
</DefaultValue>
<Prompt>To Date:</Prompt>
</ReportParameter>
<ReportParameter Name="ReportType">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>Daily</Value>
</Values>
</DefaultValue>
<Prompt>Report Type</Prompt>
<ValidValues>
<ParameterValues>
<ParameterValue>
<Value>Monthly</Value>
</ParameterValue>
<ParameterValue>
<Value>Daily</Value>
</ParameterValue>
<ParameterValue>
<Value>Immediate</Value>
</ParameterValue>
</ParameterValues>
</ValidValues>
</ReportParameter>
<ReportParameter Name="TweakingParams">
<DataType>String</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>Tweaking Parameters</Prompt>
</ReportParameter>
</ReportParameters>
<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>64de6b2a-d4fb-48d7-9368-d92f72e94947</rd:ReportID>
<EmbeddedImages>
<EmbeddedImage Name="logo">
<MIMEType>image/jpeg</MIMEType>
<ImageData />
</EmbeddedImage>
</EmbeddedImages>
<DataSets>
<DataSet Name="DataSet1">
<Fields>
<Field Name="Servers">
<DataField>Servers</DataField>
</Field>
<Field Name="MissingServers">
<DataField>MissingServers</DataField>
</Field>
</Fields>
<Query>
<DataSourceName>ISA_RS_Db</DataSourceName>
<CommandType>StoredProcedure</CommandType>
<CommandText>ISA_spServerParticipationRDL</CommandText>
<QueryParameters>
<QueryParameter Name="@ReportType">
<Value>=Parameters!ReportType.Value</Value>
</QueryParameter>
<QueryParameter Name="@FromDate">
<Value>=Parameters!FromDate.Value</Value>
</QueryParameter>
<QueryParameter Name="@ToDate">
<Value>=Parameters!ToDate.Value</Value>
</QueryParameter>
</QueryParameters>
</Query>
</DataSet>
</DataSets>
<Code>
Public Function ConvertToDate(ByVal strDate As String) As DateTime
Dim dateNum As Integer
Dim dateYear As Integer
Dim dateMonth As Integer
Dim dateDay As Integer
dateNum = CInt(strDate)
dateYear = dateNum/10000
dateMonth = (dateNum Mod 10000) / 100
dateDay = dateNum Mod 100
Dim CalcDate As New DateTime(dateYear , dateMonth , dateDay )
Return CalcDate
End Function
</Code>
<Width>8.375in</Width>
<Body>
<ReportItems>
<Textbox Name="textbox6">
<DataElementOutput>Output</DataElementOutput>
<Visibility>
<Hidden>= (Fields!MissingServers.Value = "")</Hidden>
</Visibility>
<Top>0.75in</Top>
<Width>3.5in</Width>
<Style>
<Color>DimGray</Color>
<FontFamily>Verdana</FontFamily>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<DataElementStyle>ElementNormal</DataElementStyle>
<ZIndex>6</ZIndex>
<CanGrow>true</CanGrow>
<Value>{[25325]}</Value>
</Textbox>
<Textbox Name="textbox5">
<DataElementOutput>Output</DataElementOutput>
<Visibility>
<Hidden>= (Fields!MissingServers.Value = "")</Hidden>
</Visibility>
<Top>0.5in</Top>
<Style>
<Color>DimGray</Color>
<FontFamily>Verdana</FontFamily>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<DataElementStyle>ElementNormal</DataElementStyle>
<ZIndex>5</ZIndex>
<CanGrow>true</CanGrow>
<Left>3.5in</Left>
<DataElementName>MissingServers</DataElementName>
<Height>0.25in</Height>
<Value>= Fields!MissingServers.Value</Value>
</Textbox>
<Textbox Name="textbox4">
<DataElementOutput>Output</DataElementOutput>
<Visibility>
<Hidden>= (Fields!MissingServers.Value = "")</Hidden>
</Visibility>
<Top>0.5in</Top>
<Width>3.5in</Width>
<Style>
<Color>DimGray</Color>
<FontFamily>Verdana</FontFamily>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<DataElementStyle>ElementNormal</DataElementStyle>
<ZIndex>4</ZIndex>
<CanGrow>true</CanGrow>
<Height>0.25in</Height>
<Value>{[25324]}</Value>
</Textbox>
<Textbox Name="textbox3">
<DataElementOutput>Output</DataElementOutput>
<Top>0.25in</Top>
<Width>3.5in</Width>
<Style>
<Color>DimGray</Color>
<FontFamily>Verdana</FontFamily>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<DataElementStyle>ElementNormal</DataElementStyle>
<ZIndex>3</ZIndex>
<CanGrow>true</CanGrow>
<Height>0.25in</Height>
<Value>{[25147]}:</Value>
</Textbox>
<Textbox Name="textbox2">
<DataElementOutput>Output</DataElementOutput>
<Top>0.25in</Top>
<Style>
<Color>DimGray</Color>
<FontFamily>Verdana</FontFamily>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<DataElementStyle>ElementNormal</DataElementStyle>
<ZIndex>2</ZIndex>
<CanGrow>true</CanGrow>
<Left>3.5in</Left>
<DataElementName>servers</DataElementName>
<Height>0.25in</Height>
<Value>= Fields!Servers.Value</Value>
</Textbox>
<Textbox Name="labelReport">
<DataElementOutput>Output</DataElementOutput>
<Width>3.5in</Width>
<Style>
<Color>DimGray</Color>
<FontFamily>Verdana</FontFamily>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<DataElementStyle>ElementNormal</DataElementStyle>
<ZIndex>1</ZIndex>
<CanGrow>true</CanGrow>
<Height>0.25in</Height>
<Value>{[25143]}</Value>
</Textbox>
<Textbox Name="textbox1">
<DataElementOutput>Output</DataElementOutput>
<Width>4.75in</Width>
<Style>
<Color>DimGray</Color>
<FontFamily>Verdana</FontFamily>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<DataElementStyle>ElementNormal</DataElementStyle>
<CanGrow>true</CanGrow>
<Left>3.5in</Left>
<DataElementName>DatePeriod</DataElementName>
<Height>0.25in</Height>
<Value>= FormatDateTime(Code.ConvertToDate(Parameters!FromDate.Value)) + " - " + FormatDateTime(Code.ConvertToDate(Parameters!ToDate.Value))</Value>
</Textbox>
</ReportItems>
<Height>1in</Height>
</Body>
<Language>=User!Language</Language>
<TopMargin>1in</TopMargin>
</Report>