on 06-14-2012 3:12 PM
My report has Group Header #1 which consists of 4 subsections, Group Header #1a, 1b, 1c, and 1d.
I would like a page break at the start of each new group (alternatively, at the end of a group). When I go to section editor and check the "New Page Before" (alternatively, "New Page After"), the result is that the first page to print after a group break comes out with only the 1c and 1d headers. No matter what I try, headers 1a and 1b will not print on the first page of a new group.
Why?
(Using Crystal Reports XI/Professional, v11.5.12.1838)
I know you are getting frustrated, but you can fix this. Be patient with yourself and work through it... there are no shortcuts. Use a copy of the report for testing so if it gets worse you can start over.
Check the formating on everything in sections 1a & 1b including the sections themselves. Be sure to look for conditional suppression formulas on the fields & sections.
Try unchecking everything on the sections in the section expert
Try dropping a text field in each section identifying it ("gh1a" "gh1b" ...) and see if you can see them when you run the report.. Do they print where you expect them to be? Do you see other fields in 1a and 1b?
If you do not find something causing the sections/fields to be suppressed then do as I suggested earlier
Create a new group on the same field as group 1
Move the group into the group 1 position
Split the new group 1 into 4 parts, and recreate them to match what is now group 2 using
freshly inserted fields
DO NOT COPY AND PASTE THE FIELDS FROM THE OLD GROUP 1 INTO
THE NEW GROUP 1, AND DO NOT MOVE THEM FROM OLD GROUP 1 INTO
NEW GROUP 1. I know I said to do it before, but I am thinking that is a bad idea.
You may have missed some formating that will cause the new group 1 to misbehave.
Once you have duplicated old group headers in the new group, delete the old group.
Run it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Carmine,
Go to Section Expert > Select Group Footer 1 > Paging > Check 'New Page After'.
Also make sure 'New Page After' is checked for each of the headers 1a, 1b, 1c and 1d.
Hope this helps!
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the reply, however I am not certain I understand this part:
Also make sure 'New Page After' is checked for each of the headers 1a, 1b, 1c and 1d.
If I do as you wrote, I get a new page after 1a, another new page after 1b, and so on.
Still, regardless of what I do, I see only 1c and 1d on the first page after a group break.
Here is the top portion of the first five pages of a report. The line which reads, "ORDER POINT..." is in the Page Header section.
The next group of lines (up to the one in red) are in Group Header #1a. The silver-backgound area is Group Header #1b. The dark red bar is Group Header #1c. The green text ("Warehouse...") is Group Header #1d. The report is sorted and grouped on the value of the Warehouse field.
With Group Footer #1 = New Page After, you can see what happens on the first page of a new group (page 4 below) - only header sections 1c and 1d print. However, on the next page and subsequent pages (until the next group break), header sections 1a, 1b, 1c, and 1d print.
Yes, with the complete group header.
Just to say, I inherited this report (and many, many, others) from a former employee. Probably the best approach would be to move everything into the Page Header except the green text ("Warehouse..."). I think that might work, but I really want to know why it does not work with the current layout.
Okay, sorry I came in late on this. There is probably some odd formating we are not seeing
Create a new group on the same field as group 1 & move it to the group 1 position. Split it and move all your fields from what is now group 2 into group 1 header/footers
delete group 2
oops, forgot: check new page before on group header parent.
Does it work now?
Abhilash Kumar wrote:
Just check 'New Page After' on the Group Footer. This should work.
-Abhilash
Sorry, that was one of the first things I tried and, no, it does not work. As I said, I can get a new page on each group breakpoint; the problem is that only part of the group header prints on the "new" page as shown in the images posted earlier. Again: gh1c and gh1d print on the "new" page, but gh1a and gh1b do not.
All four header sections (gh1a, gh1b, gh1c, & gh1d) print on "normal" (non-group breakpoint) pages.
Debi Herbert wrote:
Does the the group footer print? if it does not, you will not get a new page.
So in that case you must use new page before on the group header
Debi - I DO get a new page at the appropriate places (on group value change). My problem is that only gh1c and gh1d print on the new page; gh1a and gh1b do not. Please refer to the images I posted earlier: page 4 - a "new" page - is missing the bulk of the group header info as you can see. The same thing happens on each "new" page (a page break caused by a change in the group value) in the report. All the other pages print with the full headers.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.