Newbie Question 2 of 2
The same 3-column report from below...
I want to make the column headings and page headings say "continued..." on
subsequent pages so the person looking at the directory will realize
(easily) that they're looking at a continuation, not the start of a section.
Hints?
Eric
I want to make the column headings and page headings say "continued..." on
subsequent pages so the person looking at the directory will realize
(easily) that they're looking at a continuation, not the start of a section.
Hints?
Eric
This discussion has been closed.
Comments
again, you should do this in the onprint event
set a label on the band wich visible property you will manipulate depending
on wether it is a continued printing
(i do not know the exact property to check but its there)
you can also play with the KeepTogether property wich will not print a band
when it can't fit the remaining white space except that the band itself
exceeds the page
also you can play with regions, regions can be shifted to a parent region
i did this for a client who didn't want a field to be printed or even be
visible when the contents was empty and the empty space had to be filled up
with the rest
so you place one region after the other all shifting relative to each other
and then in the onprint event you set the visibility prop
cu
marc
based on the page number. Place a label or a memo in the column header and
implement the handler as shown:
procedure TForm1.ppColumnHeaderBand1BeforePrint(Sender: TObject);
begin
if (ppReport1.PageNo = 1) then
ppLabel1.Caption := 'A column header'
else
ppLabel1.Caption := 'A column header continued...'
end;
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
There is a demo which has a continued. See the demos #71-73 which have a
"continued..." printed on the subsequent page when the record breaks over to
another page.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com