Text box not growing?

L

Lostguy

Hello. I drag and drop a field onto a form and it creates a text box.
I type text into the box, but then the text scrolls off. it is all
there. It is just hidden by the edges of the box.

I don't want to make the text box length 8" long so it captures all
entries, so there has to be someway that if I make the text box 2"
wide, it will wrap the text or expand or something.

I have its Can Grow property set to Yes already. What else should I
look for?

VR/Lost
 
J

June7 via AccessMonster.com

From http://msdn.microsoft.com/en-us/library/bb242179.aspx: "This property
affects the display of form sections and controls only when the form is
printed or previewed, not when the form is displayed in Form view, Datasheet
view, or Design view." Not sure what to make of that! On forms, I normally
just make boxes big enough vertically to show the entire string and don't
rely on the CanGrow property. If the table field is Memo type don't think
form will handle that well but report controls should grow vertically to
display all content.
 
A

AccessVandal via AccessMonster.com

Set Scroll Bars to Vertical and set the Textbox to at least two line that
will be visible on your form.

If you set only one line that is visible on the textbox the characters will
not word wrap.
 
L

Lostguy

AccessVandal,

That does it! You can make the text box as long (or short) as you
want, but for word wrap, you also have to make its width (thickness) 2
lines wide (double-wide), and then throw in the vertical scroll bar in
case there is more text than 2 lines worth.

Thanks all!

VR/Lost
 
A

AccessVandal via AccessMonster.com

Glad you got it working the way you want.

width? it should be the height of the control.
 

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