Solved

Access 2003 to 2007 Conversion - Report section gets stuck at 22" in height

Posted on 2011-03-22
7
329 Views
Last Modified: 2012-05-11
I just rolled out an updated copy of an Access 2003 front end to a client running Access 2003 and 2007.  I tested the front end in the Access 2007 production environment and the Page Footer in a recently-modified report was stuck with a height of 22".  To fix the issue, I cut the controls in the Page Footer, deleted it, added it, and re-added the controls.  Here's my concern, when I update the database in the future, I'll have to go through the same exercise.  Is there a manner in which I can configure the report on the development side (Access 2003) where I know it won't corrupt on the production side (Access 2007).  I'm stuck with Access 2003 on the development side because there are still some Access 2003 clients on the production side.
0
Comment
Question by:jdana
[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
  • 3
  • 3
7 Comments
 
LVL 84
ID: 35189093
I'd suggest setting the 22" height down slightly and reformatting the report. This almost certainly occurs due to the Default printer on the production machine and the margin settings for that machine. You _could_ use the Printer object and specify all the necessary details of the printer - all the margins, offsets, etc etc - but this can also run into troubles as well. You would be far better off slightly reformatting your report to take into account those variances in printer settings.

With that said: it's rare to see a report with a 22" height - what's the reason for that? If you're using subreports, you can always set those to be very "short" (i.e. 1" or so in height) and then set the CanGrow property to Yes. This allows the report to grow to whatever length is needed as it's formatted, and you can often conserve report height like this.
0
 

Author Comment

by:jdana
ID: 35189541
LSMConsulting,

The 22" high Page Footer is spontaneously created when the parent access file is opened in Access 2007.  My version of the page footer is less than an inch tall.  I'm not the first person to come across this:

http://www.pcreview.co.uk/forums/cant-change-page-footer-report-footer-height-stuck-22-inch-t3754068.html

I can't find any postings that suggest how to avoid the spontaneous conversion.

0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35190531
I don't entirely understand what you mean by "spontaneous conversion"
But if you just mean "Convert the DB format from Access 2003 to Access 2007", then that is a bit clearer...

But let's be clear, are you really "Upgrading" the format?
 (Converting the DB format from 2003 (.mdb) to 2007 (.accdb))
...or are you just running the 2003 format db under Access 2007?


You can try the suggested fix in the link.

If it were me, I would recreate the report, just to be sure there is no "oddness" leftover.


Can you post a simple sample of the db in the original 2003 format.
(In other words, just sample data in your original tables and the original report

I will try this converting it to the access 2007 format on my machine (and simply running it in Access 2007) and see if I can recreate this issue.

JeffCoachman
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

Author Comment

by:jdana
ID: 35191789
Jeff,

The latter... I'm running the 2003 format db under Access 2007?

I've attached a mock-up of the report.  The Page Footer is the problem report section.
SampleDB.mdb
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 35192904
Are you sure this worked ok in Acc 2003...?

There are actually two lines right at the top of the page footer section.
You can only select them by using the "Horizontal Select all" tool (for lack of knowing the actual name)

Once I deleted these lines, I could resize the section...

Go figure...

JeffCoachman
boag2000-435575.flv
0
 

Author Closing Comment

by:jdana
ID: 35194856
Jeff,

Wow.  Never seen screen casting used as a solution before.  I removed those two lines and all was good.  I'm not sure why two vertical lines at the top of the section would have caused the issue.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35194939
<Never seen screen casting used as a solution before.>
Great, ...because that is the first time I've used it...
;-)

Glad I could help.

It's just odd that two "Horizontal lines" can lock the section at 22 inches tall "Vertically"...

...as I said, ...Go Figure...
;-)

Jeff

0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

751 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