Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Subreport CanGrow Formatting error

Posted on 2003-12-01
7
Medium Priority
?
490 Views
Last Modified: 2010-10-05
OK, here is the problem.

I have a Master report, with 8 unbound subreports All with the CanGrow = true, when On Open the Master report binds the subreports based on selections from a form.  This all works great.

Except 1 of the subs takes multiple pages and the subreport after it gets interspersed at the bottom of the pages of the previous sub instead of comming after it.

Other information that might help.
-None of the subreports overlap
-I can fix the formatting problem by reversing those two subreports, but the person requesting the report can't have it out of order.
-I have messed with the bring to Front, to change the order in which Access formats the subreports, and the error does not change
-All Subreports are highly dynamic (All controls are unbound until formatting)
-All subreports are copies of 1 subreport, so they all have the same control names, and code, but different control sources.

Thank you in advance.

Earthworm
0
Comment
Question by:EarthwormO
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 32

Expert Comment

by:jadedata
ID: 9852633
Hey EarthwormO!

 Unless you make some consessions on the format and layout of the report you will continue to have this challenge.
 There is such a thing as having a report be TOO COMPLEX, and in these cases it is usually one spec for the report conflicting with another.

 Sometimes you HAVE TO give a little to get a good result, and give up on getting the Perfect result.

regards
Jack
0
 
LVL 39

Expert Comment

by:stevbe
ID: 9857679
-None of the subreports overlap

are you sure they are not touching each other at all?

Steve
0
 

Author Comment

by:EarthwormO
ID: 9859363
I actually solved the problem last night.  It turn out that Access was computing the size needed for the subform incorrectly, due to the fact that I was using a font size below 8 Point.  After increasing the space in the detail section to account for an 8 point font the problem went away completly.  I tested this thouroghly and even tried smaller sizes.  Apparently Access just doesn't handle Font sizes below 8 very reliably.  Thank you for the help though.
0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
LVL 32

Accepted Solution

by:
jadedata earned 500 total points
ID: 9859984
So you infact DID change the format of the report.
Font sizes can only be format computed by Access based on their existing default size lists.  If you set a font below it's smallest listed size (like Arial 7, with 8 being the lowest listed size) the format is computed at, in this case 8.
0
 
LVL 9

Expert Comment

by:ornicar
ID: 10075543
----------------------------------------------------------------------------------------
This question has been abandoned and needs to be finalized.
 You can accept an answer, split the points, or get a refund (information at http:/help.jsp#hs5)
  If you need a moderator to help you, post a question at Community Support (http:/Community_Support/)

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

ornicar
Cleanup Volunteer

---------------------------------------------------------------------------------------------
0
 
LVL 39

Expert Comment

by:stevbe
ID: 10210306
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: jadedata {http:#9859984}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

stevbe
EE Cleanup Volunteer
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question