Introduction to PowerBuilder

HomePrevious Lesson: N-Up Presentation Style
Next Lesson: Crosstab Presentation Style

Label Presentation Style

The Label presentation style allows you to create labels from the existing data. Typical use of this style as you might know is for printing addresses. Let us generate labels with product_no and product-description to stick them on the product packages.

  1. Select File > New menu option and click on DataWindow tab page.
  2. Select N-Up presentation style.
  3. Select SQL SELECT data source.
  4. Select product_master table and click Open button.
  5. Select product_no, product_description columns from product_master table by clicking on those columns.
  6. Select 'File > Return to DataWindow Painter' menu option.
  7. Select one of the pre-defined label and specify its properties as shown in the following two pictures.

The following picture displays the report.

You can choose from a vast selection of pre-defined label sizes or create a custom label size. You can also alter the spacing, number of labels per page and specify top to bottom or left to right display. Unlike the N-Up presentation style, you can change the label specifications in the properties sheet even when you are in the design view (after coming out of the wizard).

HomePrevious Lesson: N-Up Presentation Style
Next Lesson: Crosstab Presentation Style