90 lines
5.4 KiB
XML
90 lines
5.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Report ScriptLanguage="Vb" DoublePass="true" ReportInfo.Created="11/28/2015 07:43:07" ReportInfo.Modified="04/15/2019 20:46:58" ReportInfo.CreatorVersion="2018.4.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 Picture1_BeforePrint(ByVal sender As object, ByVal e As EventArgs)
|
|
dim s as String()
|
|
dim pfad as string
|
|
pfad=""
|
|
s=report.FileName.Split("\")
|
|
dim i as integer
|
|
for i=0 to s.length-3
|
|
pfad=pfad+s(i)+"\"
|
|
next i
|
|
Dim ReportLogo as String
|
|
ReportLogo=pfad+"Logo\reportlogo.png"
|
|
picture1.ImageLocation=Reportlogo
|
|
End Sub
|
|
End Class
|
|
End Namespace
|
|
</ScriptText>
|
|
<Dictionary>
|
|
<TableDataSource Name="Daten" ReferenceName="Data.Daten" DataType="System.Int32" Enabled="true">
|
|
<Column Name="Total" DataType="System.Double"/>
|
|
<Column Name="Anz_Monate" DataType="System.Int32"/>
|
|
<Column Name="Jahr" DataType="System.Int32"/>
|
|
<Column Name="Monat" DataType="System.Int32"/>
|
|
<Column Name="Expr1" DataType="System.String"/>
|
|
</TableDataSource>
|
|
<Parameter Name="Absender" DataType="System.String"/>
|
|
<Parameter Name="Anzahl Monate" DataType="System.String"/>
|
|
<Total Name="Total" Expression="[Daten.Total]" Evaluator="Data1"/>
|
|
<Total Name="Total1" Expression="[Daten.Total]" Evaluator="Data1" PrintOn="GroupFooter1" ResetOnReprint="true"/>
|
|
</Dictionary>
|
|
<ReportPage Name="Page1" RawPaperSize="9" FirstPageSource="15" OtherPagesSource="15" Columns.Count="2" Columns.Width="95" Columns.Positions="0,95">
|
|
<ReportTitleBand Name="ReportTitle1" Width="718.2" Height="103.95">
|
|
<TextObject Name="Text1" Left="444.15" Width="255.15" Height="18.9" Text="Fakturierte Monatsumsätze" HorzAlign="Right" Font="Arial, 10pt, style=Bold, Underline"/>
|
|
<TextObject Name="Text12" Left="349.65" Top="18.9" Width="349.65" Height="18.9" Text="[Absender]" HorzAlign="Right"/>
|
|
<PictureObject Name="Picture1" Left="9.45" Width="132.3" Height="66.15" BeforePrintEvent="Picture1_BeforePrint" ImageLocation="E:\Software-Projekte\DPM\DPM2016\DPM2016\bin\Debug\Roellin\Reporting\Logo\reportlogo.png"/>
|
|
</ReportTitleBand>
|
|
<PageHeaderBand Name="PageHeader1" Top="106.81" Width="718.2" Height="28.35">
|
|
<TextObject Name="Text3" Left="9.45" Width="94.5" Height="18.9" Text="Jahr / Monat" Font="Arial, 10pt, style=Bold"/>
|
|
<TextObject Name="Text5" Left="122.85" Width="94.5" Height="18.9" Text="Total" HorzAlign="Right" Font="Arial, 10pt, style=Bold"/>
|
|
<LineObject Name="Line2" Left="9.45" Top="18.9" Width="207.9"/>
|
|
<LineObject Name="Line3" Left="368.55" Top="18.9" Width="207.9"/>
|
|
<TextObject Name="Text13" Left="368.55" Width="94.5" Height="18.9" Text="Jahr / Monat" Font="Arial, 10pt, style=Bold"/>
|
|
<TextObject Name="Text14" Left="481.95" Width="94.5" Height="18.9" Text="Total" HorzAlign="Right" Font="Arial, 10pt, style=Bold"/>
|
|
</PageHeaderBand>
|
|
<GroupHeaderBand Name="GroupHeader1" Top="138.01" Width="359.1" Height="9.45" Condition="[Daten.Jahr]" SortOrder="Descending">
|
|
<DataBand Name="Data1" Top="150.32" Width="359.1" Height="18.9" DataSource="Daten">
|
|
<TextObject Name="Text2" Left="9.45" Width="94.5" Height="18.9" Text="[IIf(Length([Daten.Monat])=1,"0","")][Daten.Monat].[Daten.Jahr]"/>
|
|
<TextObject Name="Text4" Left="122.85" Width="94.5" Height="18.9" Text="[Daten.Total]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Trimming="EllipsisCharacter"/>
|
|
<Sort>
|
|
<Sort Expression="[Daten.Jahr]" Descending="true"/>
|
|
<Sort Expression="[Daten.Monat]"/>
|
|
</Sort>
|
|
</DataBand>
|
|
<GroupFooterBand Name="GroupFooter1" Top="172.08" Width="359.1" Height="37.8">
|
|
<TextObject Name="Text8" Left="132.3" Top="3" Width="85.05" Height="18.9" Text="[Total1]" Format="Number" Format.UseLocale="true" HorzAlign="Right" Font="Arial, 10pt, style=Bold"/>
|
|
<TextObject Name="Text15" Left="9.45" Top="3" Width="103.95" Height="18.9" Text="Total [Daten.Jahr]" Font="Arial, 10pt, style=Bold"/>
|
|
<LineObject Name="Line1" Left="9.45" Top="1.45" Width="207.9"/>
|
|
</GroupFooterBand>
|
|
</GroupHeaderBand>
|
|
<ReportSummaryBand Name="ReportSummary1" Top="212.74" Width="359.1" Height="37.8">
|
|
<TextObject Name="Text6" Left="122.85" Top="9.45" Width="94.5" Height="18.9" Text="[Total]" Format="Number" Format.UseLocale="true" HorzAlign="Right" Font="Arial, 10pt, style=Bold"/>
|
|
<TextObject Name="Text16" Left="9.45" Top="9.45" Width="103.95" Height="18.9" Text="Gesamttotal" Font="Arial, 10pt, style=Bold"/>
|
|
<LineObject Name="Line4" Left="9.45" Top="9.45" Width="207.9"/>
|
|
</ReportSummaryBand>
|
|
<PageFooterBand Name="PageFooter1" Top="253.39" Width="718.2" Height="37.8">
|
|
<TextObject Name="Text10" Left="9.45" Top="9.45" Width="170.1" Height="18.9" Text="[Date]"/>
|
|
<TextObject Name="Text11" Left="604.8" Top="9.45" Width="94.5" Height="18.9" Text="[Page#]" HorzAlign="Right"/>
|
|
</PageFooterBand>
|
|
</ReportPage>
|
|
</Report>
|