Print String Grid

Posted on 2007-10-09
Last Modified: 2013-11-23
I am using Delphi 2005, in older versions of delphi quick reports was used for generating reports I cannot seem to find it on the component palette, I noticed there is a crystal report interface within the system, Is this what I would use to generate a report? If so I am trying to print a string grid object any idea how to do this?


Question by:elschott
    LVL 24

    Assisted Solution

    by:Tomas Helgi Johannsson

    Here is a good example on how to print a StringGrid :

       Tomas Helgi
    LVL 21

    Accepted Solution

     The new reporting solution for Delphi is Rave reports.  When you installed Delphi you likely just did not install Rave (I believe it is a separate install).  Rave will let you do both programmatic reporting and visual report development.  I think in your case I would put the data into a TClientDataset and connect it to a DBGrid.  This gives you the information in a grid format while making it easy to interface with Rave's visual reporting.  You would then have the ability to visually design the report, and remove all of the custom reporting code from your main project.  

    If you would like more info on this, let me know.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
    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…
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    746 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

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now