How do make a TextBox not display in an Access report when it is .

G

Guest

I have a report with two TextBoxes that I use to display information from a
table. Often in the report, one or the other (or both) of the controls are
emplty (i.e., no data is returned from the Table. I would like the report
not to display the Label of the TextBox in those situations.
 
A

Allen Browne

Change the label to a text box (right-click it.)

Put an expression in the Control Source of this text box so it is null when
the main one is null. For example, if you want it to show "City:" only when
the City text box has a value, use:
=IIf([City] Is Null, Null, "City:")
 

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