Solved

Quickreport for not DB programs ?

Posted on 1998-03-08
7
380 Views
Last Modified: 2013-11-22
hello,

does anyone know if it is possible to use quickreport in non-database programs ?

I need to print to some listviews. Is there another way printing such lists.

thanx
0
Comment
Question by:mories
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 2

Expert Comment

by:Waldek
ID: 1360257
You must use events onNeedData and BeforePrint. If You want example , tell
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1360258
Ho Mories,

Yep, Waldek is correct, but the problem is that QR always (not in D1, I believe) needs the BDE....(So you've to install this one too)  I think you can better use another component if you want to print non-database. Look at this one : (http://www.public.usit.net/bmenees) it 's offcourse freeware.

Regards, Zif.


0
 
LVL 1

Author Comment

by:mories
ID: 1360259
Waldek,
could you please give me an example ?

--

Zifnab ?

i cannot find the site you name (file not found)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Expert Comment

by:Waldek
ID: 1360260
You must create a report with QRLabels for data from list.
Then on BeforePrint method You must set a global variable for counter and PrintReport variable true if list count > 0
Example
.. BeforePrint ...
begin
 Counter:=0;
 PrintReport:=List.Count > 0;
end;

Then in method onNeedData You must set a QRLabels caption with data
For example
.... NeedData ....
begin
 If counter < List.count then
  begin
   QRLabel1.Caption:=List.Items[counter]........
   Inc(counter)
   MoreData:=counter<=List.Count; // More data ?  
  end;
end;

Try this , if You want more explain , tell
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1360261
Mories,

Well, I know that Bill Menees stopped working in Delphi and that's why his component became freeware. So it can be that he stopped with his page too. Well, if you're interested, I still can send you the component. I've got it here.

So, if you want it, just send me how I can send it to you. Maybe the easiest way is it by email.

Regards, Zif.
0
 
LVL 1

Author Comment

by:mories
ID: 1360262
Waldek,

works really great thanx alot !!!

if you add an answer to this question i can assign the points to you...

thanx again..
0
 
LVL 2

Accepted Solution

by:
Waldek earned 100 total points
ID: 1360263
Thanks for points Mories
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 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