Text Boxes in a report

N

nl

I have three text boxes aligned horizontally.
How can I make them shrink if one of them doesn't have
data in it.
Example: Text1 Text2 Text3, if there's no
information in Text2, then Text3 should move over next to
Text1, e.g. Text1 Text3

Thank you.
 
L

Les

Could you combine the contents into 1 text box? Text box1
control source would look something like:

=Trim(Text1) & " " & Trim(Text2) & " " & Trim(Text3)
 
F

fredg

I have three text boxes aligned horizontally.
How can I make them shrink if one of them doesn't have
data in it.
Example: Text1 Text2 Text3, if there's no
information in Text2, then Text3 should move over next to
Text1, e.g. Text1 Text3

Thank you.

Concatenate them in one unbound control, using the + instead of the &
where indicated:

=[First Name] & " " & ([MiddleName]+" ") & [LastName]

John Robert Smith
Mark Wilson
 

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