GENESYS Report Writer Course Dec 2022

Simple Script Walkthrough, Cont.

1. Select detailBand10 2. In the property grid under “Scripts”, the “Before Print” is set to the sub name that holds the code to execute for this band Note: there are two options for calling the script, before print and after print Most calls to the sub will be before printing, but occasionally you may want to call a script after printing the band to the report

211

Report Writer Scripting Overview Takeaway

• Scripting opens up the possibilities for reports • You can do a lot without scripts, but they can add another dimension in capability to your reports • Browse through the existing reports for examples and ideas on how to use scripting effectively in the report writer. • Word of caution: archive your reports before modifying and duplicate the default reports before modifying, you don’t want to overwrite and lose a base report!

212

Made with FlippingBook - Online Brochure Maker