Introduction to PowerBuilder

HomePrevious Lesson: FreeForm Presentation Style
Next Lesson: Grid Presentation Style

Tabular Presentation Style

Follow the following steps to create a DataWindow in tabular presentation style.

  1. Select File > New menu option and click on DataWindow tab page.
  2. Select Tabular presentation style.
  3. Select SQL SELECT data source.
  4. Select product_master table and click Open button.
  5. Select all columns from the product_master table by clicking on the table title with the right mouse button and select 'Select All' option.
  6. Select 'File > Return to DataWindow Painter' menu option.

The Tabular presentation style displays data in columns with headers, like a two-dimensional table:

In the free form presentation style, labels are used for data fields and are placed in the detail band along with the data itself. In tabular presentation style, headings are used and are placed in the header band.

This style is often used for reports, grouping columns and for DropDown DataWindows. The number of columns and rows displayed on the screen at any point of time depends on the size of the DataWindow control.
HomePrevious Lesson: FreeForm Presentation Style
Next Lesson: Grid Presentation Style