Solved

Form in QReport for one record

Posted on 1998-02-06
1
150 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
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.
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 …

803 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