Solved

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

Posted on 2011-03-22
7
316 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 

Author Comment

by:jdana
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
<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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Date Range Syntax Access 2003 10 44
Send email from MS Access macro 7 31
Access printing shortcut in Ms Access 10 34
Access MDB/PDF 21 28
Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Familiarize people with the process of utilizing SQL Server views 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 Microsoft Access…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now