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!

Add a new line on textbox from code

Status
Not open for further replies.

klasse

Programmer
Jan 12, 2004
32
0
0
SE
Hello,

I have a recordset with which I get values of a table (customer address, city, country) and then I want to put it into a textbox, everything into one.
I tried to do something like

txtbox =!CUST_ADDRESS & CHR(13) & !CUST_CITY

But this wouldn't work. It displays the address, then a funny simbol and then the city, everything in the same line. The box is big, as for 5 lines.
I somebody could help me, please?

Thanks,

Klasse
 
Hi!

Instead of CHR(13) try VbCrLf.

hth Jeff Bridgham
bridgham@purdue.edu
 
I think to get you answer you should re-phrase the question as I don't know what you're tying to do????????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top