Progress
Results User’s Guide
for Windows
Changing the Format for a Display Field
When you choose the Assistant button in the Properties dialog box, Results displays the Format dialog box for the type of display field you selected. The following sections describe how to change the formats for these field types.
NOTE: Any change you make to the display format modifies how the field is displayed. Changing the display format does not alter how the field is stored in the database.Changing the Format for a Character Field
Use the Format dialog box to edit character fields:
![]()
The format for the field in this example is X(20) where X represents the symbol type for the field and (20) the maximum length of the field. The symbol X means that the field can display any type of character. You can modify both the symbol type and maximum length of the field.
To modify the maximum number of characters the field can display, type a number in the Width field. To modify the symbol type, choose one of the radio buttons listed in Table 7–2, then choose OK.
Changing the Format for a Date Field
Use the Format dialog box to edit date fields:
![]()
The Format field displays the current format for the field. In this example, the format for the field is 99/99/99. To change the display format for the field, choose one of the radio buttons listed in Table 7–3, then choose OK.
Changing the Format for a Decimal or Integer Field
Use the Format dialog box to edit decimal and integer fields:
![]()
The format for the field in this example is ->,>>>,>>9.99, where the dash (-) places a minus sign in front of the number if the number is negative, or a blank in front of the number if the number is positive; the greater than signs (>) are replaced with a digit if that digit is not a leading zero, 9 is replaced with a digit, and the period (.) represents a decimal point.
To modify the default display format for the field, change one or more attributes listed in Table 7–4, then choose OK.
Changing the Format for a Logical Field
Use the Format dialog box to edit logical fields:
![]()
Logical fields can have one of two possible values: TRUE or FALSE. The format field shows the terms used to display these values. To change these terms, type a new term in the Display This When TRUE and Display This When FALSE fields, then choose OK.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |