Creating Banded Reports im CF using Nested tags Douglas M. Smith Application Architect Automation Creations, Inc
What does a traditional banded report look like Parts are successively nested Each part (except the detail) has a header and a footer Typically allowed to do domain type calculations –Sum –Max –Min
Reports Parts Report Group1 Group2 GroupX Detail
How does Grouping work in CF? Only shows records where field "Y" changes Does not do true grouping Does *not* sort for you query should be sorted by the same fields you group by, in order for the output to make sense
Nesting Basics Query must be on the outer most level Must be a different group, or no group to nest Any number of groups can be nested with no options can be in the deepest level
Report Sections REPORT HEADER GROUP 1 HEADER GROUP 2 HEADER REPORT DETAILS GROUP 2 FOOTER GROUP 1 FOOTER REPORT FOOTER
Example Show the books published by each author, organized by book type ie, group by –type –then author –then title
Using Style Sheets effectively One class for each level/header/footer Page Breaks