Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Printing column headings on each page with Delphi 7 & Rave

Posted on 2009-04-06
3
Medium Priority
?
868 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 1500 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Integration Management Part 2

971 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