Microsoft KB Archive/139385

= ACC: Converted 2.0 Report Has Slightly Different Margins =

Article ID: 139385

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Access 2.0 Standard Edition
 * Microsoft Access 95 Standard Edition
 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q139385



SYMPTOMS
Novice: Requires knowledge of the user interface on single-user computers.

You may receive the following error message when you try to print or preview a Microsoft Access 7.0 or 97 report that has been converted from Microsoft Access version 2.0:

Some data may not be displayed. There is not enough horizontal space on the page for the number of columns and spacing you specified.

If you expand the page to the maximum size (usually 8-by-10.5-inches), you won't see the error message. However the controls that touch the nonprintable region are not printed, despite appearing in Print Preview.



CAUSE
The default nonprintable region for the default printer is used in the conversion process to prevent an error. When you convert a Microsoft Access 2.0 report that has some of the margins set to zero to Microsoft Access 7.0 or 97, the margins in Microsoft Access 7.0 or 97 are not set to zero. Instead, they are set to the minimum margin that is valid for the default printer.



RESOLUTION
The workaround is described in the solution part of the error message. You need to reduce the column width, the column spacing, or the number of columns until the addition of these plus the default margins is less than the width of your paper. For example, if Microsoft Access defines the left margin at .263 inches and the right margin at .266 inches, then you have used:   .263 + .266 = .529 inches of the total 8.5 inches. If you then define the column width at 3.8 inches, the column spacing at .15 inches, and column count at 2, you are now under the 8.5-inches width limit.   2 x 3.8 inches = 7.6 inches 7.6 inches + .529 inches + .15 inches = 8.279 inches. If all these components add up to less than the page width, you can print the report without an error.



STATUS
This behavior is by design to prevent the report from printing data in the nonprintable region of the printer.



Steps to Reproduce Behavior
 Open Microsoft Access 7.0 or 97. On the Tools menu, point to Database Utilities, and then click Convert Database In the Database To Convert dialog box, click the 2.0 version of NWIND.MDB. By default, this file is installed to \Access\Sampapps folder. Click Convert.</li> In the Convert Database dialog box, type NewNwind.mdb.</li> Click Save.</li> When the conversion is complete, on the File menu, click Open Database.</li> In the Open dialog box, click NewNwind.mdb, and then click Open.</li> Open the Customer Mailing Labels report in Design view.</li> On the File menu, click Print Preview. Note that you receive the following error:

Some data may not be displayed. There is not enough horizontal space on the page for the number of columns and spacing you specified.

</li> Click OK.</li> In the Country Filter dialog box, click Cancel. Note that you are returned to the report in Design view.</li> On the File menu, click Page Setup.

NOTE: In Microsoft Access 2.0, the right and bottom margins are set at 0, but in Microsoft Access 7.0 and 97, the margins are set to the minimum allowable margin for the default printer (usually .2" to .26").</li> Click the Layout tab in the Page Setup dialog box.</li> Reduce the width of the Columns from 4" to 3.5".</li> On the File menu, click Print Preview. Note that you will no longer receive the error when previewing or printing the report.</li></ol>

<div class="references_section">