Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Automatic Breaks Post Reply Post New Topic
Author Message
cking4370
Newbie
Newbie


Joined: 28 Feb 2014
Location: United States
Online Status: Offline
Posts: 1
Quote cking4370 Replybullet Topic: Automatic Breaks
    Posted: 28 Feb 2014 at 7:42am
Hello,

I am a relative new user who is using Crystal reporting with my Cityworks software. I have a subreport pulling in an audit fields that keeps entered running comments. When I print the report, it will put in extra space and even carriage returns that are not there.

Any idea why this is happening?
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 28 Feb 2014 at 8:08am
are you sure that they are not there? SQL Server will retain such characters, but you won't see them in a query.

you can have CR replace the values, at least I would think...
local stringvar x := {table.field};
x:=Replace(x, chrw(10),'');
x:=Replace(x, chrw(13),'');

x

maybe the extra spaces are tabs?? you could try
x:=replace(x,chrw(9),'');

HTH
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.