How to overlap section above

S

ShadwSrch

In Crystal reports, you can set a property on a footer section to
overlap the section above.

With this featrue, you could do the following:
You could have a count in a group footer section aligned vertically
just to the right of the filed that is in the detail section above it.
If you set that footer to overlap the section above, the count would
show NEXT to the last recorfd of that group. This way, you don't need
to have an extra line for the group total.

Is there a way to do this in Access reports?

I find so much information on overlapping controls, that I can't get a
good search on this question.

Any help would be appreciated.
 
M

Marshall Barton

ShadwSrch said:
In Crystal reports, you can set a property on a footer section to
overlap the section above.

With this featrue, you could do the following:
You could have a count in a group footer section aligned vertically
just to the right of the filed that is in the detail section above it.
If you set that footer to overlap the section above, the count would
show NEXT to the last recorfd of that group. This way, you don't need
to have an extra line for the group total.

Is there a way to do this in Access reports?


Access reports do not have that particular feature.
However, you can set the report's MoveLayout property so the
the **next** section overlaps the current section.

You can determine when to do that by using a hidden text box
(named txtGrpCnt) in the group header section with the
expression =Count(*). Then you need a detail section text
box (named txtDetail) with the expression =1 and RunningSum
property set to Over Group. With that taken care of, the
code in the detail section's Format event procedure would
be:
Me.MoveLayout = (txtDetail < txtGrpCnt)
 

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