Home > Report Designer > How-To Examples > Report Script Examples
Report Script Examples
Scripts for reports are VB syntax based. To show a Windows message box you can user this system.windows.forms.messagebox.show("Message") If you want to get the value of another field in the band you can use GetCurrentColumnValue("[field name]")
If before a label prints you want to add to the text Private
Sub label3_BeforePrint(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintEventArgs)
sender.text = sender.text & "[value]"
End Sub
See also