Hide a line on a condition

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have report that was designed for one page. On the report I have a Labor
Hours Section and a Cost Summary Section. I've drawn a line to separate the
two sections. However, now there are some cases where the Cost Summary
section prints on the second page. When this happens, I want to hide the line
that separates the two sections. Can this be done and if so in which event?

Thank you for all of your help.
 
Marilyn said:
I have report that was designed for one page. On the report I have a Labor
Hours Section and a Cost Summary Section. I've drawn a line to separate the
two sections. However, now there are some cases where the Cost Summary
section prints on the second page. When this happens, I want to hide the line
that separates the two sections. Can this be done and if so in which event?


How did you "draw the line"? Is it just a Line control?

Are your two "section" in separate report sections? For
example, are they both in the detail section? Or, is one in
the detail section and the other in the report footer
section? OTOH, maybe you mean that these "sections" are
group footer sections??

If your "sections" are in separate report sections and If
you used a Line control at the top of the second of the two,
then you can use some code to make the line invisible:

Me.Linecontrol.Visible = Me.Page = 1
 
Back
Top