Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Group Footer Problem
Message
From
27/03/2000 16:48:13
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00350938
Message ID:
00351032
Views:
18
>>>>>>I am trying to create a report in VFP 6.0 using the native report designer. My problem is that I want the Group Footer information to be displayed on a separate page. Is there a way to do this???
>>>>>
>>>>>You could try putting "EJECT PAGE" in the On Entry expression of the group footer.
>>>>
>>>>EJECT PAGE is a command, not an expression. My guess is that you'll get a "Variable not found" error or some such.
>>>
>>>Create a function with EJECT PAGE in it, and put =myFunction in the On Entry.
>>
>>The only problem with this, in my experience, is that the internal line counter in the report, does not respect an external call to eject a page. What you'll end up with is a page occuring in the middle of some subsequent page, not at all in the right place.
>
>I'm not surprised. I haven't tried this, it was simply the first thing that came to mind in response to the original question.

What I've had to do to accomplish similar things is to move all the "page footer" items into the detail band and provide a "print when" condition and or data/grouping at the appropriate time. Then I make this "new group" start on a new page. I've found no other way to keep the line counts from getting messed up.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform