How to Indicate Record Continues on Next Page of ReportLast reviewed: April 30, 1996Article ID: Q118560 |
The information in this article applies to:
SUMMARYThe Report Writer in FoxPro has limited widow and orphan control. Widows and orphans occur when a record is split between two pages. For example, if you have a report that prints out data in such a manner that a record stretches beyond the bottom of the page, the remainder of the record's data is printed on the following page. The part that prints on the first page is the called a widow. The part that prints on the second page is called an orphan. This is often undesired and potentially confusing behavior. While there is little that can be done to prevent the record from being split, you can have the Report Writer indicate to the reader of the report that the record has spilled over to the next page. This will at least lessen the reader's confusion.
MORE INFORMATIONTo provide this kind of notification, you can create a memory variable that is changed to a specific value every time a group changes and is reset to a different value at the end of each group. If the variable is not equal to the specific value when it is evaluated in the Page Footer band, this means that the record continues on the next page. In this case, a message such as "Continued on next page..." will notify the reader that the record continues on the next page. The following steps illustrate this method:
ARTICLE-ID: Q101297 TITLE : Widow and Orphan Control in FoxPro Report Writer |
Additional reference words: VFoxWin 3.00 FoxWin 2.50 2.50a 2.50b 2.60 dk
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |