Solved

Form in QReport for one record

Posted on 1998-02-06
1
145 Views
Last Modified: 2010-04-04
How can I do report only for one record without filtering
table in a form by Quick Report:
____________________________________________
    Name : lsgh sljkghkdfj kdfjgg
 Address : a;sl ;ldfghldfgsdgh skjgh sfhlkghk fgh
       Age : 34
____________________________________________

0
Comment
Question by:hansmtbank
1 Comment
 
LVL 2

Accepted Solution

by:
Waldek earned 50 total points
ID: 1358567
You must create code in OnNeedData:

begin
   QRLabel1.Caption:=Name;
   QRLabel2.Caption:=adres;
   QRLabel3.Caption:=Age;
   MoreData := False
end;

And in BeforePrint
 begin
   PrintReport := True;
 end;
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
indy Tmemory stream non latin charcter issue 2 97
control image tags in a string ? 12 108
Unique identifier on a terminal server (rdp) 4 45
Delphi...Split view - idea? 1 39
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 demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

947 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

21 Experts available now in Live!

Get 1:1 Help Now