Delphi-Kylix
  Home arrow Delphi-Kylix arrow Creating Reports with Delphi and ADO
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DELPHI-KYLIX

Creating Reports with Delphi and ADO
By: Jacques Noah
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 9
    2006-10-16

    Table of Contents:
  • Creating Reports with Delphi and ADO
  • ADO with Rave Reports
  • Building the application
  • Defining the Layout

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Creating Reports with Delphi and ADO


    (Page 1 of 4 )

    So far we’ve covered using ADO tables and queries with Delphi. And we have explored how to dynamically run a query at runtime. In this article we are going a stage further and discussing how to create reports from a database.
    Download the application source code here

    Introduction

    Why would you need a report in your application? Well, the need for reporting is greatly dependent on what kind of application you are developing. If you are developing something like an invoicing application, you would want hard copies for one purpose or other, or you might have a database application and you'd want to make hard copies of whatever information you want. Not only does Delphi enable you to create reports, it also allows you to customize and format them any way you like.

    In previous versions Delphi shipped with a group of components called Quick Reports, which enabled developers to create reports for their applications. From Delphi 7 onwards those components have been replaced with Rave Report components. Now, I've been told that you can still install and use Quick Reports, but I have not tried using it. I'm also not sure whether report creation between Rave and Quick Reports has changed. In any case, we are going to use Rave Reports to create reports in our article.

    The article will focus on retrieving information from a database and then using that data to create a customized report. I've deliberately kept things simple, so that beginners can easily grasp the concepts involved. I'm using code-based reporting in this article, not the Visual Designer. Please download the database from my previous article, as I will be using it here.

    Just a word of thanks to the good people in the Rave Report newsgroups that helped me during my research on this topic.

    More Delphi-Kylix Articles
    More By Jacques Noah


       · I hope you found my article educational; I welcome your comments.
       · Hi!.I'm have programe writeln by kylix 3.0, beacause i want to printing some field...
       · Delphi 8 and higher now comes with a new reporting component called Crystal reports....
     

    DELPHI-KYLIX ARTICLES

    - Loading an XML Document into the DOM
    - Delphi Wrapper Classes and XML
    - Delphi and the DOM
    - Delphi and XML
    - Internet Access: Client Service
    - Finishing the Client for an Internet Access ...
    - The Client for an Internet Access Control Ap...
    - User Management for an Internet Access Contr...
    - Important Procedures for an Internet Access ...
    - Server Code for an Internet Access Control A...
    - Constructing the Interface for an Internet A...
    - Building a Server Application for an Interne...
    - Building an Internet Access Control Applicat...
    - Client Dataset: Working with Data Packets an...
    - Using the Client Dataset in an N-Tiered Appl...







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    Stay green...Green IT