PANTHEON™ manual

 Categories
 PANTHEON Help - Welcome
[Collapse]PANTHEON
 [Collapse]Guides for PANTHEON
  [Collapse]Guide for PANTHEON
   [Collapse]Settings
    [Expand]Subjects
    [Expand]Items
    [Expand]POS
    [Expand]Manufacturing
    [Expand]Personnel
     Calendar
    [Expand]Financials
    [Expand]Customs
    [Collapse]Program
     [Expand]Document Types
     [Collapse]Reports in PANTHEON
       Settings in Administration Panel
      [Expand]Reports Register
       Print Preview
      [Expand]Report Designer
      [Collapse]Creating Reports
        Report Objects
        "Hello, World!" Report Example
        Basic Work with Objects
        The "Text" Object
        Displaying Expressions with the Help of the "Text" Object
        Bands
        "Subject List" Report: Aliases and Variables
        "Picture" Object
        Stretching Objects, Page Breaks and Shifting Objects
        Displaying Data in the Form of a Table
        Printing Labels
        Child Bands
        Report with Two Data Levels (Master-Detail)
        Headers and Footers of a Data Band
        Multi-Page Report
      [Expand]Groups and Aggregates
      [Expand]Formatting and Highlighting
       Nested Reports (Subreports)
      [Expand]Specifics of Printouts in PANTHEON
      [Expand]Script
       Report Design Considerations
      Document Texts
      Delivery Methods
     [Expand]Loyalty Cards
     [Expand]Administration Panel
     [Expand]Dashboard Components
      Dashboard Reports
      Ad-hoc analysis
     [Expand]ARES
      SQL urejevalnik
    [Expand]Documentation
    [Expand]Change User
   [Expand]Orders
   [Expand]Goods
   [Expand]Manufacturing
   [Expand]POS
   [Expand]Service
   [Expand]Financials
   [Expand]Personnel
   [Expand]Analytics
   [Expand]Desktop
   [Expand]Help
   [Expand]Messages and Warnings
   [Expand]Additional programs
   [Expand]Old products
  [Expand]Guide for PANTHEON Retail
  [Expand]Guide for PANTHEON Vet
  [Expand]Guide for PANTHEON Farming
 [Expand]User Manuals for PANTHEON
[Expand]PANTHEON Web
[Expand]PANTHEON Granules
[Expand]User Site

Load Time: 937.5144 ms
print   |
Label

Printing labels

Printing Labels

In contrast to table-type reports, other reports (such as label printing reports) may have the data arranged one field under another. Let's look at an example of this kind of report which displays data about fish, as in the previous example. The report data is presented as a label and has the following structure:

clip0163

When previewed we would see the following output:

_img107

Notice there is a lot of blank space on the right hand side of the page. To make use of the whole page the number of columns in which data is displayed can be set in the report page settings. To do this either double-click on the white space on the design page or use “File>Page Settings...” on the menu.

clip0164

The column count, width and positions are set on the "Other options" tab in the dialogue. In our example only the Number needs to be set at 2, as FastReport adjusts the other options automatically. The column frame is displayed in the designer as a thin vertical line:

clip0165

The report is now created in the following way. FastReport repeats the “First level data” band as long as there is white space at the bottom of the page. After that, a new column on the same page is created and data bands continue repeating from the top of the new column : this contrasts with simple reports, where a new page is created instead of a new column. When the second column has been filled then a third column is created, and so on - our example only has two columns though. When all of the columns have been filled then FastReport creates a new page and continues displaying data starting in the first column again.

Our two column report should look like this:

_img110

The “Columns” property, available in the object inspector for all data bands, is another way to set the number of columns. If this property is changed from zero however, the number of columns is set only for the selected databand and not for the whole page (as in the previous example). The effect is to display data firstly from 'left-to-right then top-to-bottom', in contrast to the 'top-to-bottom then left-to-the right' output shown above.

Disable the columns in the Page Options dialogue (set Column Number to 1) and enter 2 in the databand “Columns” property. Note that the “ColumnWidth” property must also be changed from the default zero to prevent column 2 overlaying column 1; optionally the “Column Gap” property can also be changed. FastReport then shows the column frames as dotted lines :

clip0166

This design displays data in 'left-to-right then top-to-bottom' order.



Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!