Progress
Report Builder
Tutorial
Changing the Address–All Field’s Width and Alignment
Report Builder assigns a default field width so it can display all the address information on one line. As shown in this example, it is not always practical to display the entire contents of a field on one line. Therefore, change the field width and enable word-wrapping to print the field contents in the specified amount of space.
Address–All Field Width
Because the Address–All field’s width is too wide, you must change it to fit between the Name and Balance fields.
Follow these steps to change the Address–All field width:
- Select the Address–All field.
- Choose Properties
Format. The Format dialog box appears:
![]()
The Character Format for the Address–All field is 88 characters. If the Character Format for your Address–All field has a different number of characters, you entered a different number of characters in the field expression. If you do not edit the Address–All expression to have 88 characters, be aware that your data will appear slightly different than the data shown in this chapter. For example, if you did not enter a space between the quotation marks that appear between the Address and Address2 fields, Report Builder will not display a space. However, the examples in this chapter show a space between those fields.
By default, the field width accommodates 88 characters. However, you want to shorten the display width.
- Activate the Inches radio button.
- Change the width to 4 inches. While the field can contain up to 88 characters, Report Builder now only displays up to four inches of characters on each line:
![]()
Do not change the Character Format setting.
- Choose OK to change the width and return to the report layout.
Figure 4–4 shows how the Address–All field appears on the layout. Notice that although the field width indicator extends four inches, the format is still 88 characters.
Figure 4–4: Layout with Modified Field Width
![]()
Address–All Field Alignment
Because the Address–All field is a character field, it is left-aligned by default. When you shorten the field, Report Builder truncates the data. To display all the data within the 4-inch width, change the field alignment to word wrap.
Follow these steps to change the Address–All field alignment:
Instead of truncating the address information that does not fit in the field’s display width, Report Builder wraps the data on the next line.
Preview the report to see how the word wrapping appears on the report.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |