Page 1 of 2
Changing group header after first page
Posted: Tue Apr 17, 2012 2:15 pm
by jmiller
I have a report where the data is grouped. A new page occurs whenever the group changes. This is easy enough. On the first page for a group I want one page header, on the subsequent pages for that group I want a different header. What is the best to do this?
Changing group header after first page
Posted: Wed Apr 18, 2012 9:20 am
by HighAley
Hello.
jmiller wrote:I have a report where the data is grouped. A new page occurs whenever the group changes. This is easy enough. On the first page for a group I want one page header, on the subsequent pages for that group I want a different header. What is the best to do this?
You could use two Group Headers. On First header set the
Print On property to the
Only First Page and on the second on set this property to the
Except First Page.
Look at the attached report template.
Thank you
Changing group header after first page
Posted: Wed Apr 18, 2012 11:02 am
by jmiller
I thought I tried that, but it looked like the Print On was being applied across all groups and not within a group:
Page 1: Header
John Doe
123 Main Street
United States
[data]
Page 2: Header (only want the person's name and not repeat the address)
John Doe
[more data for John Doe]
Page 3: Header (group change, I want to use the address again)
Jane Smith
456 Maple Ave
United States
[data]
Page 4: Header (back to only wanting the person's name)
Jane Smith
[more data for Jane Smith]
when I did it, I would not getting the address on Page 3 that pertains to "Jane Smith".
Changing group header after first page
Posted: Fri Apr 20, 2012 3:56 am
by HighAley
Hello.
jmiller wrote:I thought I tried that, but it looked like the Print On was being applied across all groups and not within a group:
Page 1: Header
John Doe
123 Main Street
United States
[data]
Page 2: Header (only want the person's name and not repeat the address)
John Doe
[more data for John Doe]
Page 3: Header (group change, I want to use the address again)
Jane Smith
456 Maple Ave
United States
[data]
Page 4: Header (back to only wanting the person's name)
Jane Smith
[more data for Jane Smith]
when I did it, I would not getting the address on Page 3 that pertains to "Jane Smith".
In this case you should create two Group Headers too and set the
Print on All Pages property of the first header to
True. Look at the attached report template.
Thank you.
Changing group header after first page
Posted: Fri Apr 20, 2012 7:26 am
by jmiller
The last report.mrt didn't look like it really had anything in it. I am attaching a quick report I threw together using your demo data. On the very first page (first image), the group header is correct. It shows the full employee address. I am using "Only First Page". On subsequent pages for this employee I do not want his address. On the second page of the report (second image) I am able to just show the employee's name which is what I want. I am using a second group header with "Except First Page". The problem occurs when the next employee comes up (third image). It is not showing his full address.
Changing group header after first page
Posted: Fri Apr 20, 2012 8:29 am
by HighAley
Hello.
Sorry, I attached the wrong file. I've uploaded right file.
Please, download it again.
It seems that you don't set the Print On property of both Group Headers to All Pages.
Thank you.
Changing group header after first page
Posted: Fri Apr 20, 2012 9:37 am
by jmiller
That is better but I am still having a slight issue. My headers have the same information (employee name) and therefore the name is being shown twice on the first page. Please see the attached image. In the mrt you provided, the group headers have different contents.
Changing group header after first page
Posted: Mon Apr 23, 2012 4:04 am
by Ivan
Hello,
Please check the attached report template.
Thank you.
Changing group header after first page
Posted: Mon Apr 23, 2012 7:00 am
by jmiller
That works! Thanks for your help.
Changing group header after first page
Posted: Tue Apr 24, 2012 11:40 pm
by Andrew
Hello,
That's our pleasure to help you.
Thank you.