Adding a constant field

About this task

Follow these steps to add a constant field:

Procedure

  1. Make sure the report window is in Add mode. Click the Display and Add Parameters icon on the tool bar. The mode is displayed on the status bar.
  2. Select an area in the report (enclose one or more characters in a box).
  3. Click the Define a Field icon on the toolbar to open the Add a Field window.
  4. Verify the Identifier. The administrative client automatically assigns the next available identifier to each field that you add, beginning with Field1.
  5. Type the literal (constant) string value for the field. This is the actual value that gets stored in the database. For line data, if the input data contains unformatted ASCII data, the constant value can be specified as either character data or hexadecimal data. Specify a hexadecimal value by using the format X'constant', where constant is hexadecimal data (for example, X'F0F0F0'). For PDF data, specify the constant value as character (ASCII) data. The constant value can be from 1 to 250 bytes in length. Note: Neither the administrative client nor the indexing program validates the content of the data that you specify.
  6. Click OK to add the field.

What to do next

Click Cancel to close the Field window without adding the field.