Solved

Form in QReport for one record

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

760 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

20 Experts available now in Live!

Get 1:1 Help Now