Printing continuous vertical lines on a page
I designed a report which has several columns separated by vertical lines
(the rows are also separated by horizontal lines). I also have a footer
band. I have placed some regions inside the detailed band (which one is
printed depends on the record type). Inside the regions I have place
vertical lines separating the fields/columns. My problem is that there is
usually a gap left above the footer of the page and the last region printed.
This of course is normal since nothing is printed there but is not
acceptable. One solution is to use page style as I do in invoice documents
but in this case the page styles of the first, last and the rest of the
pages differ eg the first page has a header.
Any solution?
Thanks in advance
Yannis
(the rows are also separated by horizontal lines). I also have a footer
band. I have placed some regions inside the detailed band (which one is
printed depends on the record type). Inside the regions I have place
vertical lines separating the fields/columns. My problem is that there is
usually a gap left above the footer of the page and the last region printed.
This of course is normal since nothing is printed there but is not
acceptable. One solution is to use page style as I do in invoice documents
but in this case the page styles of the first, last and the rest of the
pages differ eg the first page has a header.
Any solution?
Thanks in advance
Yannis
This discussion has been closed.
Comments
page by adding draw commands to the page object after the report engine is
finished drawing on the page before it is sent to the devices. This demo
draws lines from the bottom of the last detail the top of the footer band.
http://www.digital-metaphors.com/tips/DrawLineOnEachSide.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Can I do the same in RAP? I tried to save the current position in a global
var using "ppReport1.Engine.PrintPosRect.Top" but I get error when compiling
the error "Error DetailAfterPrint. Line 3: Expecting ( or [ but found
'PrintPosRect' instead".
Is there a way around it and if yes can I create drawing objects in RAP
(like the example)?
Thank you in advance
Yannis
example which creates a few for you:
http://www.digital-metaphors.com/tips/RAPDrawCommands.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
That's exactly the solution I thought of.
By the way the site with the tips seems to be very useful but I cannot get
into it. I get the message "Your are not authorized to view this page" when
I try http://www.digital-metaphors.com/tips
Is that the way it should be or I' m doing something wrong?
Thanks
Yannis
when we post them. Our TODO list includes creating a webpage so that these
projects could be a better resource with descriptions as well as the
downloads.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com