Solved

Crystal Reports Function

Posted on 2013-12-26
1
442 Views
Last Modified: 2013-12-26
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
Comment
Question by:garyjgs
1 Comment
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39740692
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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question