Changing the column heading
By default, FM/Db2 uses the column name defined in the Db2® catalog as the column heading. You can change this by editing the template and specifying an alternative column heading in the Heading entry field.
The column heading might change the width of the display column. For example, in Table Browse panel, see how the display changes if you change the heading
for the MIDINIT column to the longer heading, MIDDLE
INITIAL
:
- Enter the TEDIT primary command.
FM/Db2 displays the Column Selection Edit panel.
- On the line for the MIDINIT column, enter
E
in the Cmd field.FM/Db2 displays the Column Attributes panel for the MIDINIT column.
- Type the new heading,
MIDDLE INITIAL
, in the Heading entry field. - Press the Exit function key (F3).
FM/Db2 displays the Column Selection/Edit panel.
- Press the Exit function key (F3) again.
FM/Db2 displays the Template Save panel.
- Press the RunTemp function key (F6).
FM/Db2 displays the data with the new heading.
Table Browse panel showing width of displayed column changed due to longer heading shows how the change of heading has changed the width of the third column from what it was when originally displayed in Table Browse panel.