FIX: Group Header Not Printing When Previous Group Has a Widow

Last reviewed: October 20, 1997
Article ID: Q120192
2.5x 2.6x | 2.5x
WINDOWS   | MACINTOSH
kbprint kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5x, 2.6x
  • Microsoft FoxPro for Macintosh, versions 2.5x

SYMPTOMS

A group header band will not print if the previous group had a widow and Reprint Header On Subsequent Pages check box was selected in the Group Info dialog box.

WORKAROUND

If Reprint Header On Subsequent Pages is not selected, group headers will be displayed for each group regardless of widows.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0 for Windows.

MORE INFORMATION

An orphan is a single (or partial) line printed at the bottom of the first page from a single record, and a widow is a single (or partial) line printed on the second page from that same record.

Steps to Reproduce Problem

  1. Select the SALESMAN database, or any database with a memo field.

  2. Design a report with the "Top--Field Can Stretch" option selected for the memo field.

  3. Order the database, and create a grouping and a group header band.

  4. In the Group Info dialog box, select the Reprint Header On Subsequent Pages check box.

  5. Adjust the memo field width and the Detail band height so that the memo field will print a widow on the second page.

Note that the second page will show the widow with the group header printing first. The next group will start with no group header.

For more information about widow and orphan control in the FoxPro Report Writer, please see the following article(s) in the Microsoft Knowledge Base:

   ARTICLE-ID: Q101297
   TITLE     : Widow and Orphan Control in FoxPro Report Writer

   ARTICLE-ID: Q118560
   TITLE     : How to Indicate Record Continues on Next Page of Report


Additional reference words: VFoxwin Fixlist3.00 FoxMac FoxWin buglist2.50
buglist2.50a buglist2.50b buglist2.50c buglist2.60 buglist2.60a 2.50 2.50a
2.50b 2.50c 2.60 2.60a RWriter
KBCategory: kbprint kbfixlist kbbuglist
KBSubcategory: FxtoolRwriter
Keywords : FxtoolRwriter kbbuglist kbfixlist kbprint
Version : 2.5x 2.6x | 2.5x
Platform : MACINTOSH WINDOWS
Solution Type : kbfix


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: October 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.