Help & Support
Contents
Display Legacy Contents

Search:

Home > Report Designer > How-To Examples > Report Script Examples

Report Script Examples

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



Properties
Article ID:
report_script_examples
Views: 182
Created By: jimdurkin
Modified By: [Modified By]
Created Date: 3/24/2014 12:31 PM
Last Modified: 3/24/2014 12:31 PM
Actions
Print This Article
Bookmark
Email This Article
Previous Article
Next Article