Solved

Printing column headings on each page with Delphi 7 & Rave

Posted on 2009-04-06
3
849 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month8 days, 14 hours left to enroll

617 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