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

New line character

Status
Not open for further replies.

dejfatman

Programmer
Jan 24, 2002
34
US
I am trying to create a "status" text field on a form that is several lines high. Is there a way to create a string with a new line character (similar to "/n" in Java) so that I can keep appending status messages to the text field so that each new message appears on its own line?
 
Hi!

In vba you can use the constant VbCrLf:

TextField = TextField & VbCrLf & NewData

hth
Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top