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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using carriage return in textbox / store as string in db 1

Status
Not open for further replies.

striker73

MIS
Jun 7, 2001
376
US
A client of mine wants to know if she can use a "carriage return" inside a text box and store it inside a string. Is this possible? Can I use ASCII numbers to help record these some how? I haven't tried anything out yet, but any ideas? Thanks!
 
Actually, you don't have to go to so much trouble. All you have to do is set the text box's Enter Key Behavior property to "New line in field". Rick Sprague
 
Thanks! What's the exact code for that? I tried txtScopeOfWork.OnEnter = "new Line in field" but that didn't work.
 
That option is part of the text box properties on the form
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top