Can Shrink Option
am 04.01.2008 05:14:10 von Menelomie
I am trying to use the Can Shrink feature in Access - I found an
earlier post that walked me through the If statement to use to clear
out the label that corresponds with a null field but now just the
label and the field are blank, the report is not moving up. I was
wondering if anyone could assist with this issue?
Melanie
Re: Can Shrink Option
am 08.01.2008 04:43:17 von Marshall Barton
Menelomie wrote:
>I am trying to use the Can Shrink feature in Access - I found an
>earlier post that walked me through the If statement to use to clear
>out the label that corresponds with a null field but now just the
>label and the field are blank, the report is not moving up. I was
>wondering if anyone could assist with this issue?
You can make the text box invisible (which also makes its
attached label invisible).
Me.thetextbox.Visible = Not IsNull(Me.thetextbox)
This way the label will not prevent the section from
shrinking.
If the label is not attached to the text box, then make both
the text box and the label invisible:
Me.thetextbox.Visible = Not IsNull(Me.thetextbox)
Me.thelabel.Visible = Not IsNull(Me.thetextbox)
Make sure the section's CanShrink property is also set to
Yes
--
Marsh