Solved

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

Posted on 2010-08-19
2
1,011 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi Dbf export problem to a Visual Foxpro application 6 207
firemonkey keyboard covers the controls 1 37
Firemonkey allowing RTL on android 6 47
MS Access from Delphi 31 60
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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

829 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