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!

Page Break If Record is not completely fit on that Page

Status
Not open for further replies.

nomi2000

ISP
Feb 15, 2001
676
CA
Dear Fellow Programmers,
I have record of larger height (with many rows) ,now I want if Record changes and it is

not fully fit on the current page then i want page break so the reocrd appear as whole in next page.
Regards
Nouman
 
Just select "keep together" on either the field in the field format, on the section in the section expert or on the whole group in the change group....whichever makes the most sense.
 
If you are using CanGrow it can sometimes override the section keepTogether, but you can always add a dummy group and use KeepGroupTogether. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
This might be a simple question, but is there a way to inset a page break so that each item in a group starts at the top of a new page?

I tried the "keep together" option mentioned above for the group, but then most of the time one item is printed on one page, but sometimes two items are. I think for my report I'd rather have consistency than try to save space.

This report will never be printed anyways, and I'm not a "screen-hugger". :)

Thanks,

Jacob438
 
Keep Together is not designed to do page breaks.
To do page breaks go to the section expert (Format Section) and use the "New Page Before" on that group header. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
If I do "New Page Before" for the group header, then my first page is blank. The Page header a and b do not get printed on page 1 for some reason. Is there any reasoning behind this? Thanks,

Jacob438
 
If the first page is truly blank, then you need to suppress you (empty) report header. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Cool thanks, I did the pagenumber <> 1 way suggested by synapsevampire, but thanks for your input as well, kenhamady!

Jacob438
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top