Adding Headers and Footers

You can change the headers and footers that are displayed on a table to show additional information about the table, such as the time it was created, the detailed table specification, or the name of the source data file.

You can also define global headers and footers that apply to all the tables in the table document.

To add headers and footers to a table

In the Tables pane, select the table for which you want to change the headers and footers.

From the menu, choose:

Choose the Header and Footer tab.

Place the cursor in the header or footer position you want to change, for example, Center. Take care to position the cursor outside the field code markers {} of any existing fields.

Choose the Insert Field button.

In the Field Selection dialog box, select the field you want to add. As you select a field, details about the field appear at the bottom of the dialog box. For example, the DBLocation field contains the name and location of the case data. See the topic Field Selection for more information.

If required, use the check boxes to the right of the field list to add optional settings for the selected field. For example, Add a text prefix adds predefined text such as "Table:" "Filter:", "Statistics:" and so on, describing the selected field. Options vary depending on the field you select.

Tip: Once you become familiar with the optional settings, you may want to choose the Field Codes button to display codes instead of descriptions, and enter the codes directly. For example, the field code for the Add a text prefix option is \p.

Choose OK to close the Insert Field dialog box.

If required, you can add more fields to the same header or footer position, or to other header or footer positions, in the same way.

You can add your own text to a header or footer by typing it directly into the header or footer position text box, taking care to type outside the field code markers {} of any existing fields. For example, instead of using the standard prefix, you could add your own text prefix "Survey data file" in front of the case data location field, as follows:

Survey data file: {DBLocation }

You can add formatting such as italics, bold, or color to header and footer text, using a limited set of well-formed HTML tags. See the topic Adding Formatting to Headers and Footers for more information.

You can also use the HTML tags to insert hypertext links or even images in your headers and footers. See the topic Adding Hypertext Links and Images to Headers and Footers for more information.

Choose OK to close the Table Properties dialog box, save your changes, and apply them to the current table.

To define global headers and footers:

From the menu, choose

In the Global Header and Footer dialog box, choose a header or footer position that you want to define, for example, Footer Center.

Add header and footer details in the same way as for table headers and footers.

Choose OK to close the dialog box.