Solved

Printing column headings on each page with Delphi 7 & Rave

Posted on 2009-04-06
3
827 Views
Last Modified: 2013-11-22
I am using Rave 6.05 with Delphi 7 and printing some custom reports using the TRvSystem and TTablePrinter components.  I have a base and detail detail TTablePrinter and both have the ReprintHeader option set to true.  My problem is that when I print the report, the column headings of the base TTablePrinter only print the first time on the first page.  Is this a bug in the components or am I missing something?

Tom T.
0
Comment
Question by:tturney
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
rfwoolf earned 500 total points
ID: 24087967
I use Rave quite a bit and I've never heard of the TTAblePrinter component, so I can't help you there. What I do know is that inside Rave there are Bands and DataBands. There is a distinct difference between these two: DataBands **CYCLE / ITERATE** through each record and show any accompanyinig header or footer bands. For example if you do this:
-BAND (plain) <-- put your column headings and set it to print once per page
-DATABAND (connected to your RvDataSet)

If you can't find a setting that makes it appear at the top of every page, try doing the above except make the BAND a Master Header of the Databand.
Hope that works.
0
 

Author Comment

by:tturney
ID: 24088065
RfWoolf,

  Thanks for your response.  The TTablePrinter component is with the code based Rave reports.  In it you create the columns and dimensions of the report layout and then attach events to the initialization, finalization and printing of each of the headings, lines and footings of the report.  My problem seems to be comming from when I force a new page (TTablePrinter.newPage).  It seems to be ignoring the heading and continuing the lines printing.

Tom T.
0
 
LVL 13

Expert Comment

by:rfwoolf
ID: 24088117
oh I thought you were using the rave designer, didn't know you were coding it. If you can find a way to implement a band header then that might solve the trick.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi XE10, MySQL Query 4 164
Printing problem 2 101
How to create virtual printer while installing my application 5 61
Dev express lookupcombo 3 34
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…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 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