Microsoft KB Archive/112398

= Works: Report with Multiple Page Breaks Previews Incorrectly =

Article ID: 112398

Article Last Modified on 1/14/2000

-

APPLIES TO


 * Microsoft Works 3.0 Standard Edition

-



This article was previously published under Q112398



SYMPTOMS
A database report in Works for Windows previews incorrectly if the following two conditions are met:
 * 1) The report contains an odd number of pages, greater than two. -and-


 * 1) The report contains at least one manual page break.

The report displays correctly when you first choose Print Preview and choose the Next button to page through the document; however, moving back through the report using the Previous button displays incorrect results. As you return to pages that were previously previewed, records will seem to have disappeared.



RESOLUTION
The report prints correctly and again previews properly if you cancel Print Preview, then choose Print Preview again (from the File menu). Deleting either one of the page breaks in the report definition or adding another page break to produce an even number of pages also allows the report to preview correctly when you move back through the report using the Previous button.



Steps to Reproduce Problem

 * 1) Open the file called WINGLIST.WDB from the MSWORKS\SAMPLES directory.
 * 2) From the Tools menu, choose Create New Report. Include the fields: First Name, Last Name, City, and State. Choose the OK button and then OK again in the Report Statistics dialog box.
 * 3) A message that the report definition has been created will appear. Choose OK.
 * 4) From the Tools menu, choose Sort Records. For the 1st Field, choose Country and for the 2nd Field, choose State. Choose to include a Sort Break for each of these fields.
 * 5) Insert a page break below both the Summ State and Summ Country rows.
 * 6) From the File menu, choose Print Preview. The first page appears correctly. Choose the Next button and the totals appear. Choosing Previous now, however, displays only a single record on the screen.



STATUS
Microsoft has confirmed this to be a problem in Works version 3.0 for Windows. This problem no longer occurs in Works versions 4.0 and later.

Additional query words: db wrong w_works 3.00

Keywords: KB112398

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.