Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Can Grow Unlimited Post Reply Post New Topic
Author Message
LeeRyan
Newbie
Newbie


Joined: 30 Mar 2009
Location: United States
Online Status: Offline
Posts: 1
Quote LeeRyan Replybullet Topic: Can Grow Unlimited
     Posted: 30 Mar 2009 at 6:41am
I'm a newbie at Crystal Reports.  My issue is with a Group Footer using Can Grow but it is cutting off the bottom line of the text.  This report is being printed using MICROS 3700 on a thermal printer. Can Grow has been left at 0 for unlimited growth.
 
The GF is also supressed which works. 
 
To show the data in the supressed GF I created a Formula Field using the fomula below replacing a pipe if the specific field is populated.  There are a number of messages in the field seperated by pipes.  Sometimes the message can consist of 1 message or 7 messages.  At the pipe I want to perform a return sperating the Messages with dashes. This works until I get to the bottom and it cuts off what would be the last line when printed.  It shows correct on the preview.
 
IF {table1.obj_num}={view1.obj_number}THEN
{table1.Messages};
Replace ({table1.Messages},"|",chr(13)+ "------------------------------" +chr(10))
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 31 Mar 2009 at 6:38am
I haven't done anything like this, at least not for a while, but there are a couple of things that confuse me your sample.
1) is this supposed to be one if?  you are replacing the the pipe and displaying it regardless of the conditional if statement.  If it is to one if statement, it should be: if condition (
 line1;
 line2;
 lineN;
)
 
2) I have never split up the CR and the LF like you have done.  I would have thought that you would want ..."\", chr(13)+chr(10) + "---------------"
 
Hope some of this helped
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