• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2074
  • Last Modified:

How do I insert a chr(13) or vbCrLf in a Query expression builder.

I have a query that contains 3 fields with varying strings.  I added an expression to combine the values of all three fields, seperated by a carriage return.  Problem is when I use chr(13) or chr(10) I get a box instead of the carriage return/line feed.  When I try vbCrLf, the query prompts for user input.  Is there any way to accomplish this?
0
cebaker75
Asked:
cebaker75
1 Solution
 
Patrick MatthewsCommented:
Use Chr(13) *and* Chr(10)...

SELECT Field1 & Chr(13) & Chr(10) & Field2
From SomeTable
0
 
cebaker75Author Commented:
Thanks!  Works perfect!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now