Forcing text to next line.

319
4
Jump to solution
03-26-2019 01:53 PM
AdrianBlevins
New Contributor III

In the label expression dialog box, how do I force the text to the next line?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
Egge-JanPollé1
MVP Regular Contributor

If you use the VBScript parser you can use vbCrLf for new lines, like:

[Field1] & vbCrLf & [Field2]

See screendump below for an example:

View solution in original post

4 Replies
StephenM
Occasional Contributor II

If you use the Python parser you can use "\n" for new lines, like:

[Field1] + "\n" + [Field2]

Egge-JanPollé1
MVP Regular Contributor

If you use the VBScript parser you can use vbCrLf for new lines, like:

[Field1] & vbCrLf & [Field2]

See screendump below for an example:

View solution in original post

AdrianBlevins
New Contributor III

Thank you so much, I was really stuck on this one.

0 Kudos
MatthewDriscoll
MVP Regular Contributor

vbNewLine will work as well.