Question:
How can I print an internal tag value at the header of a Section Report at Elipse E3?
Solution:
To do so, follow these procedures:
- Add a TextBox or a Label to the Section Report.
- Create a script at the Section Report’s ActiveReport_ReportStart event. Use GetServerValue or GetViewerValue method to get the Server or Viewer tag value, and to write it to the TextBox or Label.
Example:
Sub ActiveReport_ReportStart dim Application = Activator.CreateInstance(Type.GetTypeFromProgID("Reports.E3ApplicationLink")) Application.LinkWithApplication(rpt) Me.TextBox1.Value = Application.GetServerValue("Dados.TagInterno1") End Sub