• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1076
  • Last Modified:

Multi-Column listing through Quick Report

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
adilca
Asked:
adilca
1 Solution
 
ZifNabCommented:
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
 
esariCommented:
how do use delphi 4?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now