KB-32564: Printing a tag’s value in a report.
Question: How can I print an Internal Tag’s value on a report’s header? Solution: To do so, follow these procedures: In the report, add a Data Field to the PageHeader.…
Question: How can I print an Internal Tag’s value on a report’s header? Solution: To do so, follow these procedures: In the report, add a Data Field to the PageHeader.…
Question: How can I change a row’s color when printing a report according to a field’s value? Solution: To do so, add a script to report’s OnFormat event to check…
Question: How can I add date and time to a report’s name, so that every time a report is loaded and exported, a new PDF file is generated with a…
Question: Can I run the report’s LoadReport method from E3 Server (for example, from an internal tag’s OnValueChanged event)? Solution: No, this event can only run from the Viewer, never…
Question: How can I have a setup window (for printer and paper size settings) being displayed at run time before printing a report? Solution: To do so, click on Script…
Question: How can I resize E3Chart’s legend in the report via scripts? Solution: To do so, copy the following script to the report’s OnBeforePrint event. The lines in bold are…
Question: In the report’s body, how can I print the initial and final dates of a filter made in its query? Solution: To do so, follow these procedures: In the…
Question: In a report, how can I display the name of the screen where the command to open the report was issued? Solution: To do so, you must create an…
Question: Can I have more than one query per report? Solution: No; reports in E3 can only have one query. If you need to use different SQL commands, just pass…
Question: How can I print a report in either Portrait or Landscape formats? Solution: To do so, access the report’s setting in E3Studio, and click Configure Report button. A window…