How to know when comes a PageBreak??

R

Roberto López

Hi all,
my problem is:
- section "DETAIL" with vertical lines, with "can grow" and "can shrink"
properties enabled (I need this).
- I have a function to draw all vertical lines and it works fine but
- When the "DETAIL" section is longer than the page, i need to draw an
horizontal line closing the "rectangle".
- I tryed to draw the horizontal line in design mode into the "PAGE
FOOTER" setcion but It draws at least 1 cm lower than the vertical lines
finish and I don´t know why.


I hope you understand me and can help.
Thanks in advance.
 
M

Marshall Barton

Roberto said:
my problem is:
- section "DETAIL" with vertical lines, with "can grow" and "can shrink"
properties enabled (I need this).
- I have a function to draw all vertical lines and it works fine but
- When the "DETAIL" section is longer than the page, i need to draw an
horizontal line closing the "rectangle".
- I tryed to draw the horizontal line in design mode into the "PAGE
FOOTER" setcion but It draws at least 1 cm lower than the vertical lines
finish and I don´t know why.


Assuming you have used Me.Top + Me.Section(0).Height to save
the coordinates of the bottom of the last detail, did you
take the page's top margin into account? Me.Top is relative
to the top of the paper, while Line coordinates are relative
to the prinable area.

Alternatively, you could probably just use a horizontal line
control at the top of the report footer section.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top