Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / January 2007

Tip: Looking for answers? Try searching our database.

How to overlap section above

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ShadwSrch - 18 Jan 2007 19:38 GMT
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.
Marshall Barton - 19 Jan 2007 00:29 GMT
>In Crystal reports, you can set a property on a footer section to
>overlap the section above.
[quoted text clipped - 7 lines]
>
>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)

Signature

Marsh
MVP [MS Access]

ShadwSrch - 19 Jan 2007 01:38 GMT
Thank you both for your input...

Marshall Barton...NICE!...I like this solution.
>     Me.MoveLayout = (txtDetail < txtGrpCnt)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.