Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Line Break in String Post Reply Post New Topic
Author Message
cfrey
Groupie
Groupie


Joined: 06 Feb 2008
Location: United States
Online Status: Offline
Posts: 55
Quote cfrey Replybullet Topic: Line Break in String
     Posted: 23 Feb 2009 at 9:09am
I'm creating a report showing an address on the left side. The right is a subreport with a variable amount of data. The address portion looks like this:

Name
Address1
Address2
City, ST Zip

I want to suppress Address 2 if it is blank which I'll do in a formula. Is there a command to force a line break break after each line?

Thanks for your help.
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 23 Feb 2009 at 9:38am
Hi
 
You can usse chr(13) for line break.....
 
Cheers
Rahul
IP IP Logged
cfrey
Groupie
Groupie


Joined: 06 Feb 2008
Location: United States
Online Status: Offline
Posts: 55
Quote cfrey Replybullet Posted: 23 Feb 2009 at 10:33am
Perfect. Thank you so much!!!
IP IP Logged
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