Yes I do have rave reports but I'm not to sure how to print the stringgrid from that interface?
Thanks
Jake
Main Topics
Browse All TopicsHello
I am looking for some advice on how to print something from my Delphi app. I am using a printdialog, I want to be able to have a header that has the date printed on it, a footer that states what page number it is of how many total pages. I would then like to print a title on the printout, followed by my string grid. I can print my StringGrid by calling StringGrid1.print (note it is not a standard StringGrid component). Disregarding the string grid element even if someone can point me in the right direction with the other stuff it would be greatly appreaciated.
Thanks
Jake
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.
Oh and there's Quickreport as well.
Personally I haven't had much experience with anything other than Rave reports, but some searching turned up some relevant links:
How To Print a TStringGrid
http://www.delphi3000.com/
Print a StringGrid
http://www.experts-exchang
Print a StringGrid like it is ?????
http://www.experts-exchang
Personally I would change the string grid to a DBGrid and use a TClientDataset with it. This will allow you to visually tie the dataset to the Rave report by putting a TRvDataSetConnection on the same form/data module that your dataset is on. Set it's dataset property to your dataset. You will also need a TRvProject component. Once you have these in place you can double click on the TRvProject component to bring up Rave Reports. To prepare for your report, click the purple drum icon at the top, choose Direct Data View, choose your dataset (it is recognized from your Delphi app). Then you can got to the Tools Menu and use one of the report wizards to do most of the layout work for you.
I hope this helps.
Business Accounts
Answer for Membership
by: rfwoolfPosted on 2007-11-03 at 19:25:58ID: 20208892
Depending on what version of Delphi you have, there's Rave reports. You design the report in Rave Report Editor, e.g. for the page number you just click on the relevent button and drop a thing on the bottom right of the report and that takes care of that.
You can then design and layout the rest of your report.
For variables, you can either place data-aware items onto the report and connect them to your database, or else you pass variables from your application to the rave report when it gets executed.
So let me know if you have Rave Reports and I can give you some more advice.