Solved

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

Posted on 2011-03-22
7
323 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
  • 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
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…

821 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