A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Keep Together last record detail with group footer



 
 
Thread Tools Display Modes
  #1  
Old May 18th, 2005, 07:01 AM
Craig
external usenet poster
 
Posts: n/a
Default Keep Together last record detail with group footer

Using Access 2000

In the same way that you can keep together with first detail on group header
- can you keep together with last detail on group footer??

Basically is there a simple way to make the group footer for a section stay
with the last record detail? What I need is if the group footer for a
section has to go on the next page, I want the last detail to go there as
well, so the group footer isn't sitting on a new page on it's own??
  #2  
Old May 18th, 2005, 07:33 AM
Allen Browne
external usenet poster
 
Posts: n/a
Default

If the sections are fixed height (i.e. without CanGrow or CanShrink), you
can:
1. Add a page break control to the top of the detail section (in the
Toolbox).

2. Toggle its Visible property in the Format event of the section, based on
the Top property of the report.

If the report's Top indicates that the record is too far down the page to
fit the Detail section + the group footer section, set the Visible property
of the page break control to True to force it onto the next page. (The
control does have a Visible property, even though the Intellisense does not
show it.)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Craig" wrote in message
...
Using Access 2000

In the same way that you can keep together with first detail on group
header
- can you keep together with last detail on group footer??

Basically is there a simple way to make the group footer for a section
stay
with the last record detail? What I need is if the group footer for a
section has to go on the next page, I want the last detail to go there as
well, so the group footer isn't sitting on a new page on it's own??



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SubReport-Only last record from detail shows SHIPP Setting Up & Running Reports 4 May 12th, 2005 03:01 PM
Totalling in subreport Kevin Witty Setting Up & Running Reports 5 April 29th, 2005 08:30 AM
Option Group Problem Emma Using Forms 13 April 23rd, 2005 06:34 PM
Print Group Footer in Set Location Vandy Setting Up & Running Reports 1 February 2nd, 2005 10:53 PM
how divide detail by group footer total Dan Setting Up & Running Reports 3 May 25th, 2004 07:28 PM


All times are GMT +1. The time now is 12:20 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.