Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Form in QReport for one record

Posted on 1998-02-06
1
Medium Priority
?
180 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 200 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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 video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

916 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