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  

positioning a subreport



 
 
Thread Tools Display Modes
  #1  
Old April 30th, 2010, 01:24 AM posted to microsoft.public.access.reports
cinnie
external usenet poster
 
Posts: 67
Default positioning a subreport

hello
I have a subreport in my main report's Page Footer. The subreport shows a
single column with from 1 to 5 rows. The subreport has a solid hairline
border that can grow. I want the bottom of this border to always be 0.5"
above the bottom of the main report's page. (When there are more rows, I
want the subreport to grow UP, not DOWN). Can this be done?

Thanks
---
cinnie
  #2  
Old April 30th, 2010, 04:12 AM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default positioning a subreport

cinnie wrote:
I have a subreport in my main report's Page Footer. The subreport shows a
single column with from 1 to 5 rows. The subreport has a solid hairline
border that can grow. I want the bottom of this border to always be 0.5"
above the bottom of the main report's page. (When there are more rows, I
want the subreport to grow UP, not DOWN).


The page footer section can not grow. Uup or down doesn't
matter. Think about it, what would happen if the page was
formatted and there wasn't enough room for a larger page
footer?

And while you're contemplating that scenario, consider what
that would do to the KeepTogether properties. Access would
have to start the entire page all over, possibly moving all
the details to the next page so your subreport would be on
the page before the details. No way, is that going to be a
feature in my lifetime.

The size of the page footer must be determined (or set) no
later than the page header's events. So, if you can figure
out how tall the subreport will be before the first detail
(or group header, etc) you could change the page footer's
Height.

OTOH, if you can live with the page footer always being tall
enough for the maximum height of the subreport, you could
wait until the page footer's Format event to calculate
what's in the subreport and set the subreport control's Top
property so its bottom is at the bottom of the fixed size
page footer section.

--
Marsh
MVP [MS Access]
 




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


All times are GMT +1. The time now is 02:32 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.