Question:
How can I copy values from a Display to the Section Report in Elipse E3?
Solution:
To do so, access the Section Report and create a Datafield and a script that, via GetScreenValue method, passes the values from the Display to the Datafield.
Example:
In this example, “Text1” is the name of the Display object on screen. “Label1” is the name of the Datafield created in the Section Report.
Sub ActiveReport_ReportStart dim Application = Activator.CreateInstance(Type.GetTypeFromProgID("Reports.E3ApplicationLink")) Application.LinkWithApplication(rpt) Me.Label1.Value = Application.GetScreenValue("Text1") End Sub