Solved

Multi-Column listing through Quick Report

Posted on 1997-08-22
2
1,049 Views
Last Modified: 2012-08-14
How do I create multicolumn listing throuth Quick Report ?

eg. I have a customer file(table) and I want to create a report which should look like:

Cust Name 1                        Cust Name 4
Cust Address 1                     Cust Address 4
Tele: 1                                  Tele: 4

Cust Name 2                        Cust Name 5
Cust Address 2                     Cust Address 5
Tele:2                                   Tele: 5

Cust Name 3                        Cust Name 6
Cust Address 3                     Cust Address 6
Tel: 3                                    Tele: 6

0
Comment
Question by:adilca
2 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 100 total points
Comment Utility
Look at the
Look first at the example file of quickreport : Labelrep.pas

In Delphi 2.0 (Suppose also in Delphi 3.0) :
Put a new unit in your project via menu New... :
choose QuickReport Labels, in the header of this file you can read the following :

// QuickReport Mailing Labels template
// - Connect the QuickReport component to a datasource
// - Connect the QRDBText components to the datafields
// - Set number of columns with the QuickReport.Columns property (default=3)
// - Adjust the initial vertical positioning with the height of the page
//   header band
// - Adjust the vertical spacing with the height of the Detail band
// - Adjust the initial horizontal positioning with the QuickReport.LeftMargin
//   property
// - Adjust the horizontal spacing with the QuickReport.ColumnMarginMM or
//   ColumnMarginInches properties

So you have to do :

Put at TQuickReport on your form.
Fill in the datasource property
Fill in the Columns property : 2

Put a TQRDBText on the form for your Cust Name
Put a TQRDBText on the form for your Cust Address
Put a TQRDBText on the form for your Cust Telefoon

If you need some more information, please ask!
0
 

Expert Comment

by:esari
Comment Utility
how do use delphi 4?
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now