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

Crystal Reports Function

I do not understand what the function Chr(13) is doing in this sample formula:

"Region(s) selected for this report: " & Join({?Region}, ", ") & Chr(13) &
"The order Date Range is from " & Date(Minimum({?Date Range})) & " to " & Date(Maximum({?Date Range}))

Can someone provide some background on the function Chr(13)?

Thank you.
0
garyjgs
Asked:
garyjgs
1 Solution
 
mlmccCommented:
CHR returns the ASCII character associated with the number.

Chr(65) = A

Chr(13) is the carriage return character.  It is simply forcing the remaining text to the next line on the display regardless of other considerations like the width of the text box.

mlmcc
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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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