text box question

J

Josh

I'm using one textbox to display various fields. I want to
be able to make a few of the fields show up on lines alone.
So I just want the code I would use to get a new line.
Like in C its /n. I know I could do this by creating
another textbox and placing it on another line, but I would
like to be able to do it all in one textbox.

Thanks, Josh
 
D

Duane Hookom

You can add Chr(13) & Chr(10) for instance:
=Address1 & Chr(13) & Chr(10) & Address2
Set the text box Can Grow to Yes.

_____________
Duane Hookom
MS Access MVP
 

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