Adding Page Header and Footer Items

The $HEADER and $FOOTER variables work in conjunction with the File > Print > Page Setup > Headers dialog box and the Include Print Header and Include Print Footer options in the Default Report dialog box. Header and Footer values you enter in the Headers dialog box display in the Header and Footer sections of report pages if you enable the Include Print Header and Include Print Footer options and add the $HEADER and $FOOTER variables in the Edit Item > Data text box.

Complete the following steps to add the $HEADER and $FOOTER variable values to a report.

  1. Open a cBase or model and build a tabular report or open the inserting_metadata marker if previously saved.
  2. Unlock the report and perform the following actions:
    • Select File > Print > Page Setup > Headers .
    • Click the Headers tab and enter Test Report Header and Test Report Footer in the ClosedHeader and Footer boxes.
    • Click OK to save the Header and Footer values.
  3. Select Display > Reports > Report to open the Default Report dialog box and perform the following actions:
    • Enable the Include Print Header option.
    • Enable the Include Print Footer option.
    • Click OK.
    • NOTE: ProDiver might lock the report and enable print mode after clicking OK.
  4. If needed, unlock the report again and then click the Add Item icon.
  5. Select Text as the Item Type and click the $HEADER variable.
  6. Click OK to insert the header value of Test Report Header into the report.
  7. Click the Add Item icon again.
  8. Select Text as the Item Type and click the $FOOTER variable.
  9. Click OK to insert the footer value of Test Report Footer Closedinto the report.

  10. Click File > Save > Save Marker as inserting_metadata to continue using this report in other topics.
  11.