Solved

Multi-Column listing through Quick Report

Posted on 1997-08-22
2
1,053 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi with SQL Natvie Client 15 85
IdTelnet1DataAvailable handler freezes the Application 4 62
PDF library for Delphi 2 103
Dynamically Created Query 3 48
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

943 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

3 Experts available now in Live!

Get 1:1 Help Now