Scripting is what significantly enhances the functionality of aqua reports. With scripting you can enhance the report not only by relying on the data within aqua but by being able to add data by reading databases or files. You also have the option to save a copy of the report in a certain network drive or to choose not to print certain elements on every event band iteration.
To execute a script on a certain event, you need to add a script function for the event of the element. You can do this by linking a script method to the “Behavior/Scripts” property. All events that the element selected throws are listed within this property. These can vary for different types of elements.
To change to the scripts view, click on
.
Here, you can add some functionality to your report:
Example: Apply different color to areas
• The appearance can be modified with the event “OnPrintPage”
• The appearance can also be modified using format rules.