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("Daten.Differenz"), Int64) < 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("URL"), String)
End Sub
End Class
End Namespace