Solved

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

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

705 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

19 Experts available now in Live!

Get 1:1 Help Now