How to know when comes a PageBreak??

  • Thread starter Thread starter Roberto López
  • Start date Start date
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.
 
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.
 
Back
Top