Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with word wrap in a text box bound to a MS Access DB

Status
Not open for further replies.

RichardPrewitt

IS-IT--Management
Apr 16, 2002
57
0
0
US
I have a VB program that uses an Access database. On one of the forms I have a text box that the user inputs a description of about 150 characters or less. The problem is that when they enter the characters they only get one line and when the view the record the text in the text box is then cut off and only shows the first line. Can someone give me an example of code that I could use to get the text to wrap to the next viewable line in the text box.

Any help would be greatly appreciated.

Thanks,

-Richard
 
Do you have the textbox's MultiLine property set to True? That should allow the text to wrap around (to the limit of the MaxLength value, at any rate). You'll probably want to tweak the ScrollBar setting, too
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top