Solved

Multi-Column listing through Quick Report

Posted on 1997-08-22
2
1,054 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
ID: 1342204
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
ID: 2352181
how do use delphi 4?
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

773 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