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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

page break

Status
Not open for further replies.

EBee

MIS
Aug 10, 2001
229
US
How do you do a page break in Crystal report? I tried to check some boxes in the "Format Section" and I can not find something to do with page break. I want to continue printing to the next page for every group summary of my section but not a new page.

example: what I want to do is this for every page

Current YTD
113
xxxx 001
xxxx 122
total = 123 123

114
xxxx 001
xxxx 122
total = 123

and what is happennig is;

Current YTD
xxxx 122
total = 123 123

114
xxxx 001
xxxx 122
total = 123

thank you

erwin

 
I'm not sure what you want, but I think that what you're saying is that you want to keep the entire groups together on the same page.

Right click the group and select change group. Now check Keep Group Together.

Hope that does it for you.

-k kai@informeddatadecisions.com
 
all my section defaults to "Keep together, I guess what I need to know is how can I write a formula to always print a certain line at the begining of a page. like may example above, If a the total line is at the begininig of the page then don't print it, grab the beggining ( 113) from the previous page and start with it on the current page.


I hope I made sense.

thanks
erwin
 
Make a GROUP on the Field in which u have '113' '114' in ur stated example.It insert a Group footer along with it which comes below ur Detail section (if you have only 1 group in ur report.)
Now ur report is as u described

Current YTD
113
xxxx 001
xxxx 122
total = 123 123

114
xxxx 001
xxxx 122
total = 123

Now come to Group Footer Section ( In which you have TOTAL ) Right Click and go to FORMAT SECTION
Check " New Page After "
Thats all you have to do.Every time it encounters Group Header, it will make it come on New Page.
The result should be as follows:

Current YTD
113
xxxx 001
xxxx 122
total = 123 123

Goes to SECOND PAGE

114
xxxx 001
xxxx 122
total = 123
 
Are you saying you want to repeat the group header on every page? If so then from the design window, right click the group, select change group and pick the "repeat group header on every page" option. Do this in addition to the suggestion above by ALAMM and you should be set. Software Sales, Training and Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top