Print Page | Close Window

Suppressing a line

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=4601
Printed Date: 01 May 2024 at 9:51am


Topic: Suppressing a line
Posted By: Tennessee Paul
Subject: Suppressing a line
Date Posted: 22 Oct 2008 at 12:21pm
The customer wants a line drawn under each detail record.  The detail record (let's call it detail 1) is one or more lines in size depending on the contents of a Can Grow field.  If I put the line in the same detail as the detail 1 fields the Can Grow field stops working, but if I put the line in it's own detail I sometimes get a situation where the line (detail 2) can't fit on the same page as the fields (detail 1).  This is not good as then I get a line BEFORE the 1st detail on the next page or I get a line on the next page by itself (if it happens to be the line for the last detail 1).
 
The ideal solution would be a way to put the line (detail 2) into detail 1 and have the Can Grow still work.
 
Next best would be a way to programmatically determine whether a line is about to print as the 1st thing on a new page and suppress it, although this seems to leave another problem in that if the line is related to the very last detail 1 you really wouldn't want to print the group heading for the next page either because there's nothing else to print for the group.
 
 
 Any ideas?     


-------------
Thanks,

Paul



Print Page | Close Window