Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data grouping problem - Need help ASAP!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00089046
Message ID:
00089098
Vues:
21
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform