Solved

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

Posted on 2011-03-22
7
320 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
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…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

809 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