PRB: Page Numbering in Report Not Reset to 1

ID: Q109229

The information in this article applies to:

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:

Last Reviewed: August 16, 1995