Carriage return in Report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In code, I use vbcr to get a new line in a message box. How do I force a new
line in a text box on a report? Do I just use two text boxes? Mainly curious.

Example control source:
[Fname] & " " & [Lname] & vbcr & [Address]
 
rpurosky said:
In code, I use vbcr to get a new line in a message box. How do I force a new
line in a text box on a report? Do I just use two text boxes? Mainly curious.

Example control source:
[Fname] & " " & [Lname] & vbcr & [Address]


In VBA you can use vbCrLf or vbNewLine.

In a text box (or query) expression, use Chr(13) & Chr(10)
 

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

Back
Top