Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Group Headers?
Message
De
14/06/2004 11:47:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Dynamic Group Headers?
Divers
Thread ID:
00913499
Message ID:
00913499
Vues:
48
I'm trying to convert an old Fox/DOS 2.5 report created with @SAYs, and all the easy parts are done. The old report created a new header when the group changed - essentially listing the days of the month across, which was different every month. It also had a group footer that printed pre-computed totals of the daily values.
January         1 2     5 6 7 8 9    1213141516    1920212223    2627282930
Product1        A A     A A A A A     A A A B A     A B A A B     C A A A A
Product2        A A     A A A A A     A A A B A     A B A A A     C A A A A
Product3        A A     A A A B A     A A A B A     A A A A A     C A A A A
                Count: 66   A: 57   B: 6    C: 3

February  2 3 4 5 6     910111213    1617181920    2324252627
Product1  C A A A A     A A A A A     A A A A A     B A A A A
Product2  C A A A A     A A A A A     A A C A A     B A A A A
Product3  C A A A A     A A A B B     B B B B B     B B B B B
                Count: 60   A: 42   B: 14   C: 4

(Summary Band)
                Count: 874  A: 800  B: 60   C: 14
The strings of As, Bs, Cs, and spaces are built into a temporary products cursor that the report is run from. I haven't yet used a report variable to recount the ABCs, though I'm pretty sure that will work. What I can't figure out and need help with is a way to get the different headers for each group to appear.

Chris.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform