Solved

Load a file into quick report

Posted on 2004-03-22
3
1,156 Views
Last Modified: 2007-11-27
How can I load a file into my quick report?
File is where app. exe is...
0
Comment
Question by:Bosanac
[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 Comments
 
LVL 23

Expert Comment

by:Ferruccio Accalai
ID: 10649002
what do you mean? Loading pre-saved reports?
If so look this:

procedure TForm1.Button1Click(Sender: TObject);
begin
quickrep1.Prepare;
quickrep1.qrprinter.load(ExtractFilePath(Application.exename)+'filename.qrp');
quickrep1.QRPrinter.Preview;
end;
0
 

Author Comment

by:Bosanac
ID: 10650039
No,I have a file and would like to print it with quick report...
Classic *.txt file....
0
 
LVL 3

Accepted Solution

by:
marcoszorrilla earned 25 total points
ID: 10650326
You can Load the file in a Memo control and then use the OnNeedData evento from quick report to Print, you have an example in th Demos Directory Borland\delphixxx\Quickrpt\qr.

Best Regards
Marcos
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses
Course of the Month10 days, 7 hours left to enroll

628 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