Solved

Printing column headings on each page with Delphi 7 & Rave

Posted on 2009-04-06
3
835 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
[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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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