Solved

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

Posted on 2010-08-19
2
1,033 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

707 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