Reports

Printing reports with Desktop Designer completes your labeling and shipping cycle, helping you go from product labeling to shipment with the same software. You can print reports from within Desktop Designer without the need for third party applications. Report printing avoids the cost of having to learn, develop, and maintain third party applications just to print your reports.

Reports are labels that display database data as custom tables. Report printing organizes your data into rows. You can add headers and footers to explain more information about your data.

For example, you can create packing lists that accompany shipments from your warehouse:

UUID-cb4e0f79-4efb-10b6-b366-1680cbba48f7.png

First page

UUID-b5b187fc-c63d-0676-7a8f-54a1d3bd6678.png

Middle page

UUID-f182f45d-264f-679f-5e33-e7bd101f3721.png

Last page

Designing custom reports in Desktop Designer helps you make shipments faster with fewer mistakes.

Report elements

Most reports have similar structures. You can include:

  • Repeating data from your database. Repeating data appears on every page of your report.

  • Headers and footers to explain the repeating data or give more information. Headers and footers can repeat on some or all pages.

Report objects in Designer include 3 default elements:

UUID-5c8e65cd-2f4a-2b5b-d2d1-fd6f1a3b447a.png

UUID-bd4773bd-7e87-0b8e-1f9c-d1fad68372fa.png

  1. Header

  2. Repeater Definition (template for all repeating data). Changes the look and behavior of all repeating data in every row of your report.

  3. Footer

Add additional headers and footers to Report objects to build custom reports. For example, this packing list contains multiple elements:

UUID-a4c3fab3-c929-85d3-1acd-e38abb3df8ab.png

UUID-e67bb6f7-d567-f746-40f1-9825ca8a1642.png

  1. Header for report name and date.

  2. Header for logo and contact information. This header appears on the first page of your report.

  3. Header for column descriptions for your data. Column descriptions repeat on every page so your data is readable.

  4. Repeater Definition for repeating data. This is your report data that can repeat on multiple pages.

  5. Footer for report totals. This footer appears on the last page of your report.

  6. Footer for signatures. This footer is pinned to the bottom of the last page of your report.

Creating new reports

  1. Make a new label (Usually A4 or Letter size so your reports can print on office printers).

    Note

    If you are using Header or Tail labels, you can create your report only on your main label. Header and Tail labels do not support Report objects.

  2. Click and drag a Report object to your design surface.

    UUID-f4b1312b-37e9-295d-d94b-9da9b823427e.png

  3. Resize your Report object until it fills most of your design surface. Report objects can be any size smaller than your design surface.

    Tip

    Leave room for objects like page numbers which you must place outside Report objects on your design surface.

  4. Connect your database. Reports require database connections to function properly.

    1. Open your Report object Properties (Right click > Properties or press F4) and click Report.

      UUID-55f1b3b3-aea9-d0b3-62e7-f73f1ff5fd42.png

    2. Go to Table and use the drop-down list to add your existing database, or use the Database wizard.

      UUID-2245c8e8-6630-c01e-57f7-7646f9e226f0.png

    3. Your database is connected.

Your new report is ready to design.

Adding objects to reports

Drag and drop objects where you need them in your Report headers, Repeater Definitions, and footers.

Click and drag new objects into your elements:

UUID-f3d56c12-1840-4734-66b3-69898dd6c1c4.png

Moving new objects into report elements.

Click and drag existing objects to move them between elements:

UUID-79b2c95e-8ace-0d02-d5d8-4983fe17160a.png

Moving objects between elements. Blue backgrounds appear to help you place objects.

Tip

Keep your Objects panel open (on your left) so you can always see which of your objects are in which elements:

UUID-86e2bc9d-143c-2e13-839d-8e271c2f882c.png

Configuring Repeater Definitions

Your Repeater Definition works with the database you connect to your report as a template for how your data displays. Reports create new lines for each record in your database. Connect objects in your Repeater Definition to database fields connected to your report. Repeater Definition formatting applies to every repeating line in your report.

UUID-ffdcbdf9-66bb-0c08-6c8a-674185aa13ae.png

Configuring your Repeater Definition.

UUID-80dc4282-8efe-c54b-0dc5-debc835b87de.png

Repeater Definitions affect every repeating line of printed reports.

Adding headers and footers

Make multiple headers or footers to add more information to your reports. You can configure your headers and footers to repeat on the first, last, or every page of your reports.

To add headers or footers:

  1. Open Report Properties (right click > Properties or press F4).

  2. Go to Structure and click Add Header or Add Footer. Your new element appears in your Structure.

UUID-67864633-3bf6-df79-6c19-4f9ca2b632fb.png

  1. Add headers and footers to Structure.

  2. Name your headers and footers. Naming your headers and footers make them easy to organize in your Objects panel.

  3. Choose repeat options to control where headers and footers appear in your reports.

  4. Set header and footer height.

    • Pin Section to Bottom (Footers only). Enable to always have your footer appear at the bottom of pages where it repeats. Useful for footers that contain text objects like signatures.

      For example, if your repeating data ends in the middle of your last page, you can pin your signature footer to the bottom of your last page and leave the remaining half page blank. Unchecked, your signature footer prints immediately after your repeating data ends on your page.

Adding dynamic objects to headers and footers

You can add objects containing dynamic data (like variables and functions) to your report headers and footers. Variables and repeaters in headers, footers, or outside your Report objects iterate once per label/page. Your Repeater Definition iterates once per row. 

To add dynamic data from databases to headers and footers, you cannot use the same database table you use in your Repeater Definition. Create a new database table (or new database connection) for your header and footer objects and make sure you enable Use the same record for entire print job in your second database table configuration.

For example, you can add an object showing your total report records from your second database table (Custom SQL here):

UUID-d2d3c0b7-def1-2c4e-d916-f904d850f3da.png

  1. Add a dynamic Text object to your footer showing your total number of report records.

  2. Connect your Text object to a database.

  3. Enable Use the same record for the entire print job to configure your database table. Required.

Adding page numbers

UUID-95529bbb-2478-7ff4-fc47-05a76522d302.png

Adding page numbers with counters on reports.

Warning

Page numbering with counters only includes your current page. For example, Page 1.

You cannot include total page counts. For example, Page 1 of 5 is not supported.

Most reports use page numbers. To add page numbers to your reports:

  1. Create a Text object with a Counter variable.

  2. Place your Counter outside your report object on your design surface. Adding counters in headers and footers disrupts your total page count.