"Contd from previous page" when groupheader or pageheadersection..

G

Guest

I would like as many groups per page as possible.

Marshall Barton said:
Try setting the group header section's KeepTogether property
to Yes.

I don't know if you want multple groups on a single page if
it will fit, but if each group is supposed to start on a new
page, then you might want to explore setting the group
header section's ForceNewPage property to Before Section
instead.
--
Marsh
MVP [MS Access]

I did that, but the groupheader seems to sometimes go from the bottom of one
page to the top of the next page. I can tell that happens when I change the
background color.

That problem is fixed when I set "repeatsection" to "no" but that, in turn,
causes the label76 to disappear.
 
M

Marshall Barton

OK, scratch the Force New Page idea.

What happened when you tried the KeepTogethen property
 
G

Guest

Sorry, I lost track of all the changes I made. This is what I have now:

Subreport:
Report Header has "Me.Parent.Label76.Visible = True"
Report Header settings:
Force New Page = None
Keep Together = Yes

Group Header settings:
Force New Page = None
Keep Together = No
Repeat Section = No

Report Footer has "Me.Parent.Label76.Visible = False"

Main Report:
Group Header settings:
Force New Page = None
Keep Together = Yes
Repeat Section = Yes

Detail settings:
Force New Page = None
Keep Together = No

Result? Now, Label76 shows up right on top of the group that starts on a new
page as well as the way I want it to show.

Example: At the top of page 3, "Andrew" appears atop the "Andrew" group,
which begins at the top of the page and ends on page 3. The problem with that
is that "Andrew" already appears as the product name, so it looks the name
appears twice.


Marshall Barton said:
OK, scratch the Force New Page idea.

What happened when you tried the KeepTogethen property
--
Marsh
MVP [MS Access]

I would like as many groups per page as possible.
 
M

Marshall Barton

Ahem, you can not suppress a Repeat Section Group Header
section on some pages.

Actually, I have to ask why you want it to be different at
the top of a page from the same thing in the middle of the
page?

Where is the second copy of the product name coming from?
It sounds like it might be in the detail section. If so,
isn't that redundant and shouldn't it be removed from the
detail? Even if it's coming from the subreport, it still
seems redundant to me??
 
G

Guest

I'm sorry, what I meant to say was that the label should not appear when
nothing continues from the previous page. That's what it's doing, at random.

Marshall Barton said:
Ahem, you can not suppress a Repeat Section Group Header
section on some pages.

Actually, I have to ask why you want it to be different at
the top of a page from the same thing in the middle of the
page?

Where is the second copy of the product name coming from?
It sounds like it might be in the detail section. If so,
isn't that redundant and shouldn't it be removed from the
detail? Even if it's coming from the subreport, it still
seems redundant to me??
--
Marsh
MVP [MS Access]

Sorry, I lost track of all the changes I made. This is what I have now:

Subreport:
Report Header has "Me.Parent.Label76.Visible = True"
Report Header settings:
Force New Page = None
Keep Together = Yes

Group Header settings:
Force New Page = None
Keep Together = No
Repeat Section = No

Report Footer has "Me.Parent.Label76.Visible = False"

Main Report:
Group Header settings:
Force New Page = None
Keep Together = Yes
Repeat Section = Yes

Detail settings:
Force New Page = None
Keep Together = No

Result? Now, Label76 shows up right on top of the group that starts on a new
page as well as the way I want it to show.

Example: At the top of page 3, "Andrew" appears atop the "Andrew" group,
which begins at the top of the page and ends on page 3. The problem with that
is that "Andrew" already appears as the product name, so it looks the name
appears twice.
 
M

Marshall Barton

Are you saying that the Repeat Section header duplicates the
new group's header? For example, does it look like this

groupA details
groupA footer
--newpage--
groupB header (Cont'd)
GroupB header
GroupB details
. . .

If that's what you're saying, I have never seen that
behavior and don't see how it can happen, especially since
the group header has its KeepTogether is set to Yes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top