How to print a tag value in the Section Report.

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
Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *