Solved

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

Posted on 2010-08-19
2
996 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Printing problem 2 81
Delphi Mdi application Child forms get behind control 7 162
Convert a string into a TDateTime 5 50
RESTRequest Parameter 4 14
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

896 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now