PRB: Page Numbering in Report Not Reset to 1

Last reviewed: August 16, 1995
Article ID: Q109229
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5x, 2.6x

SYMPTOMS

When you are printing or previewing a report with a data group and the New Page and Reset Page Number options are selected, the first group will start with _PAGENO = 1, but other groups will begin with _PAGENO = 2.

CAUSE

The report has a Bottom Margin setting greater than 0 (zero).

RESOLUTION

Set Bottom Margin to 0 and add the necessary lines to the Page Footer band. For example, if Bottom Margin is set to 2, reset it to 0 and add two lines to the Page Footer band.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new report.
2. Open the CUSTOMER database and create an index on the STATE field. 3. Create a quick report. 4. Create a group based on the STATE field. 5. Select the New Page and Reset Page Number options. 6. Make sure the _PAGENO variable is displayed on the page. 7. From the Report menu, choose Page Layout. 8. Change Bottom Margin to 1, and then choose OK. 9. From the Report menu, choose Page Preview.

After the first group, all the other groups will begin with Page # 2.


Additional reference words: FoxDos 2.00 2.50 2.50a 2.50b 2.60 2.60a
KBCategory: kbprg kbprb
KBSubcategory:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 16, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.