Solved

Crystal Reports Function

Posted on 2013-12-26
1
443 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

733 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