Working with display formats in the DataWindow painter

Display formats you assign to a column in the Database painter are used by default when you place the column in a DataWindow object. You can override the default format in the DataWindow painter by choosing another format from the extended attribute system tables or defining an ad hoc format for one specific column.

NoteAbout computed fields You can assign display formats to computed fields using the same techniques as for columns in a table.

StepsTo specify a display format for a column in the DataWindow painter:

  1. In the DataWindow painter, move the pointer to the column, select Properties from the column’s pop-up menu, and then select the Format tab.

    Information appropriate to the datatype of the selected column displays. The currently used format displays in the Format box. All formats for the datatype defined in the extended attribute system tables are listed in the pop-up list (displayed by clicking the button).

  2. Do one of the following:

NoteFormat not saved in the extended attribute system tables If you create a format here, it is used only for the current column and is not saved in the extended attribute system tables.

NoteShortcuts To assign the Currency or Percent display format to a numeric column in a report, select the column, then click the Currency or Percent button in the PainterBar or select Format>Currency or Format>Percent from the menu bar.

Customizing the toolbar

You can add buttons to the PainterBar that assign a specified display format to selected columns in reports.

For more information, see “Customizing toolbars”.