Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditional printing
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00667045
Message ID:
00667320
Views:
20
>>Winn,
>>
>>Cathy Pountney described the technique of printing "Continued..." label in her article in FoxTalk. It should be either Dec. 2000 issue or February 2001.

>Nadya,
>I will check it out, thanks.


I came up with a cleaner way to do this when I wrote the new Report Writer book. I haven't tried it for detail bands that flow to the next page, but I'm guessing it will work so give it a try.

Create a data group .. you can create it on RECNO(). Create a report variable that is set up to count the detail lines and resets for each new data group. In the OnExit expression of the Data Group Footer, use _VFP.SetVar('nLines', 0) to clear the lines. Now you can put your "continued" text in the Page Footer band and use "nLines > 0" as the Print When expression.

Cathy
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform