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  

Group Header Splits When Spanning Multiple Pages



 
 
Thread Tools Display Modes
  #11  
Old July 23rd, 2009, 10:44 PM posted to microsoft.public.access.reports
Gina Whipp
external usenet poster
 
Posts: 3,500
Default Group Header Splits When Spanning Multiple Pages

Coder09,

Please provide the settings... I would like to try to duplicate is as it
happened to me once and it turned out to be the margins for the printer vs.
the report.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"coder09" wrote in message
...
Thanks for the reply. The margins are set appropriately, per what the
printer can accept.



  #12  
Old July 24th, 2009, 12:14 AM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default Group Header Splits When Spanning Multiple Pages

coder09 wrote:

Yes, the repeat section header is being split. It is the only header
I have, but I have multiple other Field/Expression entries within the
Sorting and Grouping menu (Time and Date), if that effects anything.
I've tried the ForceNewPage property, but it did not have any effect.



How can that be? If it's at the top of the Sorting and
Grouping list, it's the first section in the report (except
for the report header that was never mentioned). After the
first time, the RepeatSection property should only display
it at the top of any subsequent pages.

Barring some bizare corruption, all that just strikes me as
being impossible for Access to mess up. I suspect that Gina
is onto something re the printer. The first thing I would
check is to make sure the Access page height is the same as
the printer's page height. But if your printer's driver is
out of whack then anything can go berserk.

--
Marsh
MVP [MS Access]
  #13  
Old July 24th, 2009, 02:06 AM posted to microsoft.public.access.reports
coder09
external usenet poster
 
Posts: 13
Default Group Header Splits When Spanning Multiple Pages

I will provide the settings as soon as possible, Gina, as I am out of
the office currently. Marsh, there is a report and page header and
the subreports are in the Detail section. If data in the other
subreports force another subreport to near the end of a page (and the
group header cannot fit), Access will cut it and display the rest on
the other page. Sorry, if I didn't clarify appropriately.

Thanks
  #14  
Old July 24th, 2009, 02:21 AM posted to microsoft.public.access.reports
Gina Whipp
external usenet poster
 
Posts: 3,500
Default Group Header Splits When Spanning Multiple Pages

Okie dokie...

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"coder09" wrote in message
...
I will provide the settings as soon as possible, Gina, as I am out of
the office currently. Marsh, there is a report and page header and
the subreports are in the Detail section. If data in the other
subreports force another subreport to near the end of a page (and the
group header cannot fit), Access will cut it and display the rest on
the other page. Sorry, if I didn't clarify appropriately.

Thanks



  #15  
Old July 24th, 2009, 12:19 PM posted to microsoft.public.access.reports
coder09
external usenet poster
 
Posts: 13
Default Group Header Splits When Spanning Multiple Pages

Gina,

Here are my margin settings:

Top is .256; Bottom is .5; Left is .4; Right is .459. The report is
set to landscape and extends to 10" horizontally. Vertically, there
are approximately 50 subreports, which may or may not appear, based
upon if there is data or not (there is also a report header, page
header, and page footer. This is meant to fit standard 8.5" x 11"
paper.

I've tried modifying the margins upwards and downwards and didn't have
any success.

Thanks


On Jul 23, 9:21*pm, "Gina Whipp" wrote:
Okie dokie...

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"coder09" wrote in message

...



I will provide the settings as soon as possible, Gina, as I am out of
the office currently. *Marsh, there is a report and page header and
the subreports are in the Detail section. *If data in the other
subreports force another subreport to near the end of a page (and the
group header cannot fit), Access will cut it and display the rest on
the other page. *Sorry, if I didn't clarify appropriately.


Thanks- Hide quoted text -


- Show quoted text -


  #16  
Old July 24th, 2009, 04:20 PM posted to microsoft.public.access.reports
coder09
external usenet poster
 
Posts: 13
Default Group Header Splits When Spanning Multiple Pages

Update - I created a test database with one table, one query, and
three reports (one main report and two to be included as subreports).
I was able to reproduce the issue, so that rules out any code issues
or property setting strangeness that may have been a part of the
production database. Don't know if that helps, but it's in the
direction of narrowing down the problem. I'll try to host it
somewhere, so that someone can take a look. I can't attach files on
this forum. Thank you
  #17  
Old July 24th, 2009, 05:45 PM posted to microsoft.public.access.reports
Gina Whipp
external usenet poster
 
Posts: 3,500
Default Group Header Splits When Spanning Multiple Pages

Which is why I am leaning towards the Printer having the issue. As I said,
had this happen once and drove me crazy until I figured out it was the
printer not the database. It has something to do with the amount of
subreports and the printer not understanding. I am now, in between working
on my regular Client stuff, trying to find the database that I have this
problem on so I can see how I fixed it.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"coder09" wrote in message
...
Update - I created a test database with one table, one query, and
three reports (one main report and two to be included as subreports).
I was able to reproduce the issue, so that rules out any code issues
or property setting strangeness that may have been a part of the
production database. Don't know if that helps, but it's in the
direction of narrowing down the problem. I'll try to host it
somewhere, so that someone can take a look. I can't attach files on
this forum. Thank you



  #18  
Old July 26th, 2009, 01:45 AM posted to microsoft.public.access.reports
coder09
external usenet poster
 
Posts: 13
Default Group Header Splits When Spanning Multiple Pages

Great! Thank you so much!
  #19  
Old July 26th, 2009, 02:18 AM posted to microsoft.public.access.reports
Gina Whipp
external usenet poster
 
Posts: 3,500
Default Group Header Splits When Spanning Multiple Pages

coder09,

Okay, I FINALLY found the report! Yippee!!! It occurred because the main
report header and the subreports report header all were vying for the
*report header* section and neither *realized* that they both could not fit.
What I did to fix was... I created my main report and header to always have
the same information and put my subreports in the report footer with page
breaks. I had a logo which I did not wnt to *store* on each subreport so I
placed that in the page header.

I should also note, it was not a Printer issue it was in fact an Access
report issue. I think what it came down to is if the header on the main
report and the subreports exceeds the length of the printable area you get
the overflow and because it is report/subreport and each actually prints
without the others notice they both try to fit. However, if they are both
together do not exceed that length try setting the section to Can Shrink =
Yes.

I hope I explained that so it is understandable!

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"coder09" wrote in message
...
Great! Thank you so much!



  #20  
Old July 27th, 2009, 01:47 AM posted to microsoft.public.access.reports
coder09
external usenet poster
 
Posts: 13
Default Group Header Splits When Spanning Multiple Pages

Thank you, Gina. I really appreciate you looking that up for me.
However, that is unfortunate that your fix involved page breaks, as
the reason I implemented the group headers and "=1" trick was to
eliminate page breaks and the code that was required to properly
control them with my database. Interestingly, I was not able to make
the subreports break across pages with Access 2007 running in
compatibility mode (Access 2002-2003 database) versus Access 2003,
which I had been using. I guess it's back to the drawing board. If
anyone else has any ideas, I appreciate the help.
 




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 12:59 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.