Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data grouping problem - Need help ASAP!
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00089046
Message ID:
00089098
Views:
20
>Hi,
>
>In the billing program, it prints out a list of trips with cost and a total cost at the bottom. It is grouped by "invnum" and the cost totals are located in the "group footer" section.
>
>The problem is when it runs out of room on a page, and the _only_ thing left to print for that group is the footer. It prints the footer on the top of the next page. This would be fine, except it goes to the next group first.
>
>The result is that on the second page it prints the name and other information of the next group and then the totals for the previous group.
>
>How do I stop this from happening? The customer is waiting to do billing today, so I would really appreciate help.
>
>Thanks,

Michelle, perhaps you could set a variable to .F. at the end of the group header and to .T. again in the footer. Then in the PrintWhen of the header information put MyVar = .T., which would only be true if the footer had been printed.

Also, could you work with the page footer sizes to adjust for the group footer?

Hope these give you some ideas.
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform