Jennifer,
It sounds like you have a textbox, which is bound to the field in the
report's underlying query, so this is where the actual data appears.
And then you have a label, on the same horizontal level on the report as
the textbox. Is this correct?
Ok, the Can Shrink property does not apply to a label.
One way that you can handle this is to change the label to a textbox.
This will be an unbound textbox. You can format it so it looks like the
label. And then, using your example of the Address field, you can put
something like this in this unbound textbox's Control Source property...
=IIf(IsNull([Address]),Null,"Address")
And then set this textbox's Can Shrink property also to Yes.
What will happen here is that if there is an address in the Address
field, the unbound textbox will display the word Address, and look like
a label, but if there is no address, it will not show anything, and
should Shrink along with the actual Address textbox. Hope that makes sense.
--
Steve Schapel, Microsoft Access MVP
Steve,
I think I've figured out where my problem lies. I've got two separate
boxes, one that is the actual boxes that generates the information for the
field and one that just names the field. The generated box can be shrunk,
however, the box with just the name of the field cannot. Any tips? Thanks!