1. Home
  2. Computing & Technology
  3. Delphi Programming
RTL reference|Glossary|Tips/Tricks|FREE App/VCL|Best'O'Net|Books|Link To
 
Quick Reports Tutorial
Page 7: Label Reports
 More of this Feature
• Page 1: Reports Overview
• Page 2: What's in a report
• Page 3: History of QR
• Page 4: Band reports
• Page 5: Calculated fields
• Page 6: Sorting & Grouping
• Page 8: QR components
• Page 9: Without the QR
 Join the Discussion
"Post your questions, concerns, views and comments to this article..."
Discuss!
 Related Resources
• Reporting Tools
• Printing with TPrinter
• Controling MS Office

   Label Reports
Label reports use only the detail band of QR for their placement. By choosing File\New\ from the menu and then clicking on the Form tab you can select a predesigned label report which will show you the basics. Be sure to change the units property in the Quick report component from Millimeters to inches if you are used to that measurement.

The width of each label is a calculated value coming from the number of columns the sheet of labels has. You can modify the spacing some by changing the value of the Column space which is in between each label but I recommend doing this only as a last resort. The length of the label can be set in the detail band's length. The other values describe the unprintable sections of the label form (Top, Left, Right, Bottom). Set the Paper size to your label sheet's type and the overall width and length will be handled for you. There are a couple of fields that do not work for labels in the Quick report component.

1. The Page frame creates a frame around the entire page, not each label L and therefore is pretty useless.

2. All the other bands are not needed and should not be used for labels.

3. If you change the paper size to custom and then preview the output, it may not look like it should when you print it. This is because the preview defaults to letter size even though you have changed it to custom for printing.

Next page > Overview of Quick Report components > Page 1, 2, 3, 4, 5, 6, 7, 8, 9

All graphics (if any) in this feature created by Zarko Gajic.

 More Delphi
· Learn another routine every day - RTL Quick Reference.
· Download free source code applications and components.
· Talk about Delphi Programming, real time.
· Link to the Delphi Programming site from your Web pages.
· Tutorials, articles, tech. tips by date: 2001|2000|1999|1998 or by TOPIC.
· NEXT ARTICLE: Your application will be shut down!.
Access violations, invalid page faults, general protection faults; the name changes, but the nature of the problem is always the same. Find the solution to your Delphi AVs.
 Stay informed with all new and interesting things about Delphi (for free).
Subscribe to the Newsletter
Name
Email

 Got some code to share? Got a question? Need some help?
Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2009 About.com, a part of The New York Times Company.

All rights reserved.