Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: CHRW(21) as Carriage Return Post Reply Post New Topic
Author Message
Cordellv
Newbie
Newbie
Avatar

Joined: 14 Jan 2009
Location: United States
Online Status: Offline
Posts: 35
Quote Cordellv Replybullet Topic: CHRW(21) as Carriage Return
    Posted: 06 Jan 2010 at 8:53am
I can not find any place on the Internet where CHRW() is explained.  I have always used CHR(13) as a Carriage Return in a Crystal Report.  We have an array filed that displays a (square) as the dilimiter when we print it frmo the tables.  One of our programmers told us that this square that is printing is a carrage return CHRW(21).  In the Split command using that as the delimiter worked.  But I have no idea why.  Can anyone tell me where I can find what CHRW() characters mean.  Are they different than ASCII control characters?
 
I found this comment:
In later versions of Crystal Reports, Chr() has been replaced by ChrW() to support the full Unicode character set. It works the same way - supply the ASCII code that you wish to be included in the formula.
 
at:
 
and the IBM Help
 
shows it but does not give a table or show why Carriage Return is CHRW(21) not CHRW(13)
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 Jan 2010
THAT IS AMAZING THAT NO ONE IS USING THE CHRW() CHARACTERS IN CRYSTAL REPORTS??????
CryCryCryCry


Edited by Cordellv - 07 Jan 2010 at 8:26am
Making Things Better One Day At A time
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 07 Jan 2010 at 8:47am
I looked up CHRw and Unicode.  The basic ascii codes were not changed when Unicode was added.  Code 21 is the NAK code (used in communications).   I wish I had an answer.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.