You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LPWeb/LPWeb20/Reporting/Webstat_AngebotNachfrage.frx

86 lines
5.2 KiB

<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="Vb" ReportInfo.Created="04/11/2011 17:06:43" ReportInfo.Modified="08/31/2013 08:29:36" ReportInfo.CreatorVersion="2013.2.2.0">
<ScriptText>Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Windows.Forms
Imports System.Drawing
Imports Microsoft.VisualBasic
Imports FastReport
Imports FastReport.Data
Imports FastReport.Dialog
Imports FastReport.Table
Imports FastReport.Barcode
Imports FastReport.Utils
Namespace FastReport
Public Class ReportScript
Private Sub Text3_BeforePrint(ByVal sender As object, ByVal e As EventArgs)
if CType(Report.GetColumnValue(&quot;Daten.Differenz&quot;), Int64) &lt; 0 then
Text3.TextColor=Color.Red
text11.TextColor=color.red
Else
text3.TextColor=Color.Black
text11.TextColor=color.Black
End If
End Sub
Private Sub Picture1_BeforePrint(ByVal sender As object, ByVal e As EventArgs)
Picture1.ImageLocation= CType(Report.GetParameterValue(&quot;URL&quot;), String)
End Sub
End Class
End Namespace
</ScriptText>
<Dictionary>
<TableDataSource Name="Daten" ReferenceName="Data.Daten" DataType="System.Int32" Enabled="true">
<Column Name="Berufnr" DataType="System.Int64"/>
<Column Name="Bezeichnung" DataType="System.String"/>
<Column Name="Anzahl_Angebot" DataType="System.Int64"/>
<Column Name="Anzahl_Prio1" DataType="System.Int64"/>
<Column Name="Prio_2_bis_5" DataType="System.Int64"/>
<Column Name="Differenz" DataType="System.Int64"/>
<Column Name="Jahr" DataType="System.String"/>
<Column Name="Beschreibung" DataType="System.String"/>
<Column Name="klasse" DataType="System.String"/>
</TableDataSource>
<Parameter Name="Parcours" DataType="System.String"/>
<Parameter Name="Spruch" DataType="System.String"/>
<Parameter Name="URL" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1">
<ReportTitleBand Name="ReportTitle1" Width="718.2" Height="151.2">
<PictureObject Name="Picture1" Left="9.45" Width="141.75" Height="122.85" BeforePrintEvent="Picture1_BeforePrint" Image=""/>
<TextObject Name="Text21" Left="189" Top="28.35" Width="529.2" Height="18.9" Text="[Daten.Beschreibung]" HorzAlign="Right" Font="Arial, 14pt, style=Bold"/>
<TextObject Name="Text22" Left="207.9" Width="510.3" Height="28.35" Text="Vergleich Angebot/Nachfrage" HorzAlign="Right" Font="Arial, 14pt, style=Bold"/>
</ReportTitleBand>
<PageHeaderBand Name="PageHeader1" Top="155.2" Width="718.2" Height="37.8">
<TextObject Name="Text2" Left="9.45" Width="56.7" Height="18.9" Text="Berufnr" Font="Arial, 9pt, style=Bold"/>
<TextObject Name="Text4" Left="66.15" Width="94.5" Height="18.9" Text="Bezeichnung" Font="Arial, 9pt, style=Bold"/>
<TextObject Name="Text6" Left="463.05" Width="66.15" Height="18.9" Text="Angebot" HorzAlign="Right" Font="Arial, 9pt, style=Bold"/>
<TextObject Name="Text8" Left="529.2" Width="56.7" Height="18.9" Text="Prio. 1" HorzAlign="Right" Font="Arial, 9pt, style=Bold"/>
<TextObject Name="Text10" Left="585.9" Width="66.15" Height="18.9" Text="Prio &lt;&gt; 1" HorzAlign="Right" Font="Arial, 9pt, style=Bold"/>
<TextObject Name="Text12" Left="652.05" Width="66.15" Height="18.9" Text="Differenz" HorzAlign="Right" Font="Arial, 9pt, style=Bold"/>
<LineObject Name="Line1" Left="9.45" Top="18.9" Width="708.75"/>
<TextObject Name="Text18" Left="406.35" Width="66.15" Height="18.9" Text="Schultyp" Font="Arial, 9pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data1" Top="197" Width="718.2" Height="25.35" DataSource="Daten">
<TextObject Name="Text1" Left="9.45" Width="47.25" Height="18.9" Text="[Daten.Berufnr]" Font="Arial, 9pt"/>
<TextObject Name="Text3" Left="66.15" Top="1" Width="283.5" Height="18.9" BeforePrintEvent="Text3_BeforePrint" Text="[Daten.Bezeichnung]" Font="Arial, 9pt"/>
<TextObject Name="Text5" Left="481.95" Top="1" Width="47.25" Height="18.9" Text="[Daten.Anzahl_Angebot]" HorzAlign="Right" Font="Arial, 9pt"/>
<TextObject Name="Text7" Left="529.2" Top="1" Width="56.7" Height="18.9" Text="[Daten.Anzahl_Prio1]" HorzAlign="Right" Font="Arial, 9pt"/>
<TextObject Name="Text9" Left="595.35" Top="1" Width="56.7" Height="18.9" Text="[Daten.Prio_2_bis_5]" HorzAlign="Right" Font="Arial, 9pt"/>
<TextObject Name="Text11" Left="670.95" Top="1" Width="47.25" Height="18.9" Text="[Daten.Differenz]" HorzAlign="Right" Font="Arial, 9pt"/>
<LineObject Name="Line2" Left="9.45" Top="21.9" Width="708.75"/>
<LineObject Name="Line3" Left="9.45" Top="21.9" Width="708.75"/>
<TextObject Name="Text17" Left="406.35" Width="75.6" Height="18.9" Text="[Daten.klasse]" Font="Arial, 9pt"/>
</DataBand>
<PageFooterBand Name="PageFooter1" Top="226.35" Width="718.2" Height="18.9">
<TextObject Name="Text15" Left="9.45" Width="94.5" Height="18.9" Text="[Date]" Format="Date" Format.Format="d"/>
<TextObject Name="Text16" Left="652.05" Width="66.15" Height="18.9" Text="[Page#]" HorzAlign="Right"/>
</PageFooterBand>
</ReportPage>
</Report>