Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Report Design
Topic: how to change a new line?
Author
Message
crystaliao
Newbie
Joined: 27 Sep 2010
Location: Taiwan
Online Status: Offline
Posts: 18
Topic: how to change a new line?
Posted: 27 Sep 2010 at 10:21pm
in my raw data, they're 5 line's
ex:
Q1.how old are you?
A1.under 20
A2.21-30
A3.31-40
A4.above 40
but the output in text object are all in the same line like
Q1.how old are you?A1.under 20A2.21-30A3.31-40A4.above 40
it's abuse to use '\n', what are other ways to separate them?
thanks~[IMG]smileys/smiley1.gif" align="middle" />
Edited by crystaliao - 28 Sep 2010 at 4:59pm
IP Logged
Emir_W
Senior Member
Joined: 25 Apr 2010
Online Status: Offline
Posts: 228
Posted: 28 Sep 2010 at 12:06am
try ==> chr(13)
hope it help
Emir W
IP Logged
crystaliao
Newbie
Joined: 27 Sep 2010
Location: Taiwan
Online Status: Offline
Posts: 18
Posted: 28 Sep 2010 at 1:01am
so glade to get your answer, Emir
but where should I set chr(13)?
Edited by crystaliao - 28 Sep 2010 at 1:02am
IP Logged
Emir_W
Senior Member
Joined: 25 Apr 2010
Online Status: Offline
Posts: 228
Posted: 28 Sep 2010 at 1:16am
1st of all, how you put it in your report?
you can put it on the last part of each line.
e.g.:
{tbl.field}+chr(13)
hope it help.
Emir W
IP Logged
crystaliao
Newbie
Joined: 27 Sep 2010
Location: Taiwan
Online Status: Offline
Posts: 18
Posted: 28 Sep 2010 at 4:57pm
you mean put it in database?
like this...
Q1.how old are you? chr(13)A1.under 20 chr(13)A2.21-30 chr(13)A3.31-40 chr(13)A4.above 40
I've try chr(13),chr(10),\n,\r
but non of it can work.
did I use wrong way to put it on?
my environment is.....
asp.net 3.5 for C#
visual studio 2008
SQL server 2008
Edited by crystaliao - 28 Sep 2010 at 5:08pm
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
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
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
KONACAD
© 2004-2026 Brian Bischof. All Rights Reserved.