Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Total Value on a 2-band report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01178103
Message ID:
01178437
Vues:
11
>
>If you only want to count the records in detail1 band, this is what you have to do. Mark the variable as COUNT, and change the RESET AT value to Detail1 Band. This tells VFP to ONLY process this variable for the records in Detail1 band. It won't process it for the parent or for the 2nd detail band.

I actually did try that last night and it still didn't work. The problem with RESET AT to Detail1 band is that the total will hold the value of the very last row of the Detail1 band. So I had to use the method of creating a cursor of totals (outside of the report). Then I use this cursor to print totals.

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform