Solved

How to print a table from a Delphi form into Rave report

Posted on 2010-08-19
2
1,002 Views
Last Modified: 2012-05-10
I have a Customer Service form in Delphi that has a tcxgrid component called Parts that I want to print on the Customer Service form via Rave Report. I have been able to add datatext components and such but this it the first time I am adding a 'table' in the form that I want to print as well. I created a dataview called dvParts and it keeps the dataset active. I added a region and placed a databand but just dont know where to go from there... properties, etc. How do I tell it what fields I want printed, etc.  Thanks for your help!
0
Comment
Question by:Bianca
2 Comments
 
LVL 13

Accepted Solution

by:
aflarin earned 250 total points
ID: 33477946
Take a look at these Rave Report tutorials:

http://edn.embarcadero.com/article/30329
http://edn.embarcadero.com/article/30331
http://edn.embarcadero.com/article/31916
http://edn.embarcadero.com/article/31917

Especially at the third link - it describes creating data aware reports. Don't miss the sample code in the end of the article:
http://codecentral.borland.com/codecentral/ccWeb.exe/listing?id=21318
0
 
LVL 13

Assisted Solution

by:rfwoolf
rfwoolf earned 250 total points
ID: 33483857
I believe a DataBand 'cycles' through all the records in the dataset to display the table much like a DBGrid -- this seems to be what you're after. Then add DataTexts to it and set them to the the dataview and datafield that you want. Also set the DataBand to the dataview you want.
For your column headings, they must go in a band above the databand, and set the band as a 'header' - and there are settings about whether the heading should appear again at the top of every page, or must it appear 'once off'.

I hope this helps
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

823 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