Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text Field Page Wrap

Status
Not open for further replies.

melven

MIS
Apr 7, 2011
11
US
Hi,

I am having a problem with a large text field, terms and conditions, that duplicates some of the text at the top of each new page. Each page starts the same number of lines up from the previous page.

Example - First page of t&c prints conditions 1-5 and half of 6. Second page will start part of the way through condition 5.

The terms and conditions text field is located in report footer b.

I have tried changing keep together settings for sections with no difference. Tried unchecking can grow and making text field large enough to see all. Deleted field and started over. No differences with any of these.

Using Crystal Reports 2008 Developer

Thanks for your help,
Mel



CR Developer V 12.2, .NET
 
Is the Terms and Conditions a field or is it text that you have entered? Have you tried turning off Keep Together on the text itself?

-Dell

DecisionFirst Technologies - Seven-time SAP BusinessObjects Solution Partner of the Year
 
It is a Text Object, sorry. Yes, I have Keep Together unchecked on the Text also.

I have figured out that it has to do with the suppression formula I am using on the Page Header. The formula is (TotalPageCount-PageNumber)<3 for a 3 page terms and conditions. When I remove this formula and add something simpler like PageNumber<>1 then there is no longer reprinted text on the following pages.

The reprinted text is the same height as the Page Header so the report must think it does not have enough room.

So I guess I need a different formula or a way to let crystal reports know there is enough space on the page.

I have tried adding WhilePrintingRecords to change evaluation time, did not help. And Onlastrecord for a formula includes the page before the terms and conditions so did not help either.

Mel

CR Developer V 12.2, .NET
 
Added the following formula and placed in footer so X does not equal 1 until Terms Header.

WhilePrintingRecords;
numberVar X;
If OnLastRecord Then numberVar X:=1;

And changed Page Header suppression formula to:

numberVar X=1

I believe this will fix the problem; no issues yet.

Mel

CR Developer V 12.2, .NET
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top