Chapter 20: PEERNET Reports Object Model

 

PEERNET Reports Object Model greatly assists in the design of complex, data-driven reports and labels. For example, you could create a label, insert a text field into the label, and bind the text field to a data source (such as a table of mailing addresses). You can then set the color of the text in each text field dynamically according to a specified criteria, such as city name, by calling the setColor method of the text field component in the On Format event method of the section configuring the component.

 

Inside the application, interfaces can be accessed through predefined event methods for reports and labels at runtime. Inside embedded applications, these interfaces and classes can also be accessed to manipulate the reports or labels as well.

 

To access documentation on the PEERNET Reports Object Model, please visit http://www.peernet.com/reports/objectmodel.html.

 

Note that the sample project Chapter20_Runtime.pnj contains sample code for you to explore. You can access this project by clicking File – Open Project in the application menu, then enabling the Open a sample project option.