Solved

How to print out a specific report(record)?

Posted on 1999-01-26
3
142 Views
Last Modified: 2010-04-06
I have created a report for a database using quick report. But the problem is it only show(print) the 1st record only.
I would like to know how can u specify a record to print?
For eg. I input a new record(data) in a form and press the button to print or preview it(the report). Wot I see in the form is the new one but in the report it is the 1st record in database. Please help..?!
0
Comment
Question by:xkuma
  • 2
3 Comments
 
LVL 12

Expert Comment

by:rwilson032697
ID: 1363446
You need to ensure the new record is added to the table and that the current record in the table is one that you have just added.

Cheers,

Raymond.
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 100 total points
ID: 1363447
For what I read, I think your problem lies in the design of your QR.

Try this :

1. Make new form
2. Put a TQuickRep on the form
3. Put a subdetailband on the TQuickRep
   Or put a QRband on the TQuickRep and change it to a detail band
4. Put a qrdbtext on this band and assign your dataset (table1) to the dataset property !!
   Assign also a field
5. Then!! Assign your dataset (table1) to the dataset property of TQuickRep!!!!
6. Preview

--> now you should see all your records.

Regards, Zif.
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1363448
if you want one record from this table, then filter the table so that you have only that record.
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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

911 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

17 Experts available now in Live!

Get 1:1 Help Now