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  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM developerWorks
 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 / 8
    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

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    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

    - Client Dataset: Working with Data Packets an...
    - Using the Client Dataset in an N-Tiered Appl...
    - Using the Client Dataset in Two-Tiered Clien...
    - Using the Client Dataset in File-Based Archi...
    - Demystifying the Client Dataset
    - Working with INI Files in Delphi
    - Creating Data Link (UDL) Files in Delphi
    - Looking at the Details for an Invoicing Appl...
    - Invoicing in Delphi: Show Me the Money
    - Saving Images and Binary Files to a Database...
    - Saving Files to a Database using Delphi: Sav...
    - Creating CF Applications and Integrating a S...
    - Using Try and Finally to Help Prevent Memory...
    - The Implementation of an FTP Server
    - FTP Server: The Theory







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway