Essa é uma revisão anterior do documento!


Formatador de Relatório - ReportBuilder (Resumo do guia do desenvolvedor)


Calculations are a vital part of reporting, and ReportBuilder provides a rich set of components and events that allow you to perform a wide range of calculations. Simple calculations can be performed without any coding via the DBCalc component. This component provides Sum, Average, Minimum, Maximum, and Count functions. The calculations can be group-based or report-based. More complex calculations can be achieved via the Variable component. At a minimum, the Variable component requires an OnCalc event handler to be assigned. The timing of this event can be correlated to any number of occurrences within the report generation process. For example, the component can calculate once for each of the following occurrences: the start of the report, a record traversal, a group break, the start of a page, and the start of a column. The Variable component also has an OnReset event that can be similarly correlated. This provides the utmost in calculation flexibility.