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

adilcaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
esariCommented:
how do use delphi 4?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.