Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: How To Make Lines Wrap? Post Reply Post New Topic
Author Message
GroennDemon
Newbie
Newbie


Joined: 01 Feb 2007
Location: Germany
Online Status: Offline
Posts: 9
Quote GroennDemon Replybullet Topic: How To Make Lines Wrap?
    Posted: 01 Feb 2007 at 6:40pm
I want to print a report that's supposed to fit on one page.
It contains a subreport to display a list of entries, with one entry in
each line. I want all lines to be printed, regardless of whether there's
enough data available or not.

This works pretty well with the textfield's border set to "bottom."
However, the text won't wrap to the next line, but is cut off on the
right side.

What I want is something like this:


Entry 1
Entry 2
Entry 3 is a very
long entry
Entry 4





The additional problem is that the report should fit on a single page.
It would be perfect if the last line could be set to "..." or something
similar to indicate that there is more data available, but that it
wasn't printed.

If it makes to whole thing easier, I could go without the lines, as long as the text still wraps and everything still fits to one page.

Any help will be highly appreciated.


Edited by GroennDemon - 01 Feb 2007 at 6:42pm
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 01 Feb 2007 at 9:05pm
I'm not sure if this is the best answer or not, but an easy way to show the lines is to have a graphic of just the lines and the "..." at tht end. Then put the graphic in the page header and set the "Underlay Following Sections" property. That way it will show the text on top of the lines and the whole page will be filled in.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
GroennDemon
Newbie
Newbie


Joined: 01 Feb 2007
Location: Germany
Online Status: Offline
Posts: 9
Quote GroennDemon Replybullet Posted: 02 Feb 2007 at 4:21am
Ok, cool.

What about out the data then?
How can I make it wrap and make sure it won't exceed the given space?
IP IP Logged
GroennDemon
Newbie
Newbie


Joined: 01 Feb 2007
Location: Germany
Online Status: Offline
Posts: 9
Quote GroennDemon Replybullet Posted: 02 Feb 2007 at 5:39am
And btw, I only want the "..." to be printed if there really is more data available. If there online are three lines (so everything fits on the page), I don't want that to be printed.

I currently restrict the number of lines by a basic-syntax "Suppress (no drilldown)" formula (I'm not sure what it's called in the English version) that goes like this:

"formula = RecordNumber > {@Max_Lines}"


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.049 seconds.