Skip to main content

Field Length

Syntax

Field Length number

Parameters

  • number: An integer specifying the desired width (in characters) for the column corresponding to the preceding Field command.

Description

Controls the printed width of a database field column in a listing.

Remarks

This command must immediately follow the Field command it modifies. It can be used to truncate or pad the field's display width. When used with Squeeze and Field Header, it allows precise control over the layout of combined fields like first and last names. For right-justified fields, truncation removes characters from the left.

Examples

See the example for Field Header.