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

ID: Q120192

2.5x 2.6x | 2.5x

WINDOWS   | MACINTOSH
kbprint kbfixlist kbbuglist

The information in this article applies to:

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
Version           : 2.5x 2.6x | 2.5x
Platform          : MACINTOSH WINDOWS
Solution Type     : kbfix

Last Reviewed: October 22, 1997