Hi developmentguru
ok I li ke to try COM object.
What is the basic steps?.
Main Topics
Browse All TopicsI need full details about using fastreport in intraweb ... I am using delphi 2009.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Figure out how to use Fast Reports to produce the pdf file that you need first. You can do this in normal Delphi programming.
Once you have that you will want to be able to pass parameters to it via a string. Since this should be set up to handle and report with any number of parameters you will want to be sure you can pass in all the parameters you could need. I will check and see if I can post some code on this. You should do this step in normal Delphi programming too. Once you have a procedure set up that can take the report name and a parameter list and produce your new PDF file (passing back the file name) you will be ready to put it into a COM object.
Let me know when you have this much tested. In the mean time I will see if I can give you more help once I can look through the source I have.
Business Accounts
Answer for Membership
by: developmentguruPosted on 2009-08-17 at 13:00:45ID: 25117853
I noticed that your question still had no responses so I figured you may be able to use some technical "How To" even though it is from my personal experience with a different report writer.
When you want to bring up a report in a web based project your best bet is to do so as a PDF. The PDF will load in their web page and allow them to easily print it in the manner you wanted it to print. This is not the case with HTML style reporting results.
I wanted to be able to use Rave reports to accomplish the same thing. What I did was wrapper the functionality of printing my report to a PDF inside a COM object. Then when the report was to be run I would go to a web page to gather the parameters for the report and call an ASP web page I created in Delphi. In the OnPageLoad event I created the COM object, passed it the parameters, and told it to generate the PDF. The COM object method I called passed back the directory and temp file name that was created by the COM object. I then simply redirected the web page to the PDF. From the user's view they see that they hit submit on the page with the parameters, a short pause, then a PDF in their web browser with the results of the report.
I really believe this is going to be the route for you to take. It gives you the ultimate in control since you would write the COM object and code in Delphi to do... whatever you need it to do. This also has the added benefit of not costing anything.
If you would like to try something like this and have further questions, let me know.