Reporting : Native reporting system : How to edit or add a report : How to edit an existing report : Defining user-defined fields and attributes
  
Defining user-defined fields and attributes
Use the following subcommands to access user-defined fields and define their attributes so they may be included in your report. When these fields are defined in a FIELD command, you may use them in a SELECT command or a WHERE command to extract information from the project database, or the ORDERBY command to organize the report output.
DECIMALS subcommand
Use this subcommand to indicate the number of digits acceptable after a decimal point.
FONT subcommand
Use this subcommand to apply font definitions previously defined in a FONT command.
LEGEND subcommand
Use this subcommand to override the default column heading name.
LENGTH subcommand
Use this subcommand to override the default length of a field.
NAMESTUB subcommand
Use this subcommand to indicate an alternate name is selected for a field in the extraction database.
SOURCE subcommand
Use this subcommand to indicate the original field name when it is different from the field-identifier in the FIELD statement.
TYPE subcommand
Use this subcommand to override the default width of a field.
WIDTH subcommand
Use this subcommand to override the default width of a field.
Related topics
Examples – FIELD command
FIELD command structure
Redefining predefined field attributes
Rules for using the FIELD command
Parent topic
How to edit an existing report