No heading if one page only.
(Repost w/add'l info)
Using RB 5.56 / Delphi 5.
Page 1 headings do not print if the entire report
fits onto one page.
My report consists of a heading (first page only)
and detail (containing one large memo field).
I print for the current record only.
If the memo spills over to the second page,
everything prints correctly. Heading prints
on first page, not on second - as designed.
However, if the memo field fits onto one page,
it does not print the headings, only the memo
field.
What things should I check for?
Thank you.
Using RB 5.56 / Delphi 5.
Page 1 headings do not print if the entire report
fits onto one page.
My report consists of a heading (first page only)
and detail (containing one large memo field).
I print for the current record only.
If the memo spills over to the second page,
everything prints correctly. Heading prints
on first page, not on second - as designed.
However, if the memo field fits onto one page,
it does not print the headings, only the memo
field.
What things should I check for?
Thank you.
This discussion has been closed.
Comments
header band. What you can do is set the header band to PrintOnLastPage back
to true. Then, after the header band prints (HeaderBand.AfterPrint event),
set its visibility to false. This should work around your one page report
header problem.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
only.
However . . .
If it is previewed and then printed (from the preview screen) the
headings do not print at all.
If paging forward, and then paging backwards on preview, it redisplays
the first page without headings.
For this application it is desirable to display, and then selectively
print page 1 or page 2, which this does not allow to be done.
Is there a setting that will direct the printing and preview paging to
be done from the first pass? (i.e. not regenerate on page
forward/backward or print from preview)? Or is there something else
that might work better?
Thank you for your assistance.
regenerated when the report is sent to the printer from the preview.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com