Home arrow Delphi-Kylix arrow Creating Reports with Delphi and ADO

Creating Reports with Delphi and ADO

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.

Author Info:
By: Jacques Noah
Rating: 5 stars5 stars5 stars5 stars5 stars / 19
October 16, 2006
  1. · Creating Reports with Delphi and ADO
  2. · ADO with Rave Reports
  3. · Building the application
  4. · Defining the Layout

print this article

Creating Reports with Delphi and ADO
(Page 1 of 4 )

Download the application source code here


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.

blog comments powered by Disqus

- 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...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials