Solved

Rave report - render to pdf

Posted on 2011-03-19
2
2,483 Views
Last Modified: 2012-05-11
i already got many help doing a rave report -  code based report -

  -       http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_26887858.html?cid=239#a35148858
  -       http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_26854889.html
  -       http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_26887858.html

now how should I a function to render the report to *.pdf

found

http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_22457720.html   but not sure how to port to my problem

(do not have a  rave report file , ....  )
0
Comment
Question by:BdLm
[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
2 Comments
 
LVL 24

Accepted Solution

by:
jimyX earned 250 total points
ID: 35171004
Use TRvRenderPDF:
procedure TForm1.Button1Click(Sender: TObject);
begin
  RvSystem1.Generate;
  RvRenderPDF1.PrintRender(RvSystem1.Stream,'c:\test.pdf');
end;

Open in new window


And if you do not want a fixed path, then use SaveDialog to have an option of selecting where to save the pdf file.
procedure TForm1.Button1Click(Sender: TObject);
begin
  RvSystem1.Generate;
  SaveDialog1.Filter := 'PDF Files|*.PDF';
  if SaveDialog1.Execute then
    RvRenderPDF1.PrintRender(RvSystem1.Stream,SaveDialog1.FileName);
end;

Open in new window

0
 
LVL 8

Author Closing Comment

by:BdLm
ID: 35176698
fine !!!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

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…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

707 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