|
NCR, Report Structure Changes
|
Previous Top Next |
|
Also see: Converting an Existing Report. Points of interest: Do NOT place any controls in the page HEADER. Do NOT place any controls in the page FOOTER. Do NOT place any controls in the page FORM. Ok, now you're wondering how you get a header and a footer and a form in your reports.... The report structures provided include new "detail" bands appropriately named: ReportHEADER, ReportFOOTER and ReportFORM. These are DETAIL bands which replace the CW "black box" bands. As noted in the example structure below, all controls which where originally placed in the HEADER are now located in the ReportHEADER DETAIL band. The controls associated with the standard FOOTER and FORM are placed in their respective counter parts. These new detail bands are printed only once during the report generation..... So, how do you get page numbers? NCR, with the help of RPM, will renumber the pages as required using the page renumbering built into RPM. The existing CW HEADER, FOOTER and FORM bands are still used however, so don't delete them. The resulting position of the new ReportHEADER, ReportFOOTER and ReportFORM bands are determined by the position (X and Y coordinates) of the respective counter parts. In other words, wherever the HEADER band is positioned is where the ReportHEADER band will print in the final report. EXAMPLE:
As in any report, the detail AREA should be set as you would normally set it to indicate the location to include all of YOUR detail bands. The new ReportHEADER, ReportFOOTER and ReportFORM bands, as described above, use the ABSOLUTE attribute to position themselves where required independent of the detail area you use for your report body. Hint: To create your report with accurate report formatter previews, develop the report with the appropriate controls in the HEADER, FOOTER and FORM bands, then drag these controls into the appropriate counter part bands before saving the report. Important: Each detail band MUST have a USE() field equate and the following bands MUST be provided a FILTER:
These bands are printed by the extension template when needed, you should NEVER print these yourself. These filters are set under Report Properties, Detail Filters. |