Message
General information
Fórum:
Visual FoxPro
Category:
Relatórios e Criador de Relatórios
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
ID da thread:
01178103
ID da mensagem:
01178437
Views:
13
>
>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
Previous
Next
Responder
Mapa
View