>Cathy,
>I realized that I did use the wrong terminology in my title of the thread. I should have said report with 2 detail bands. Sorry for confusing you and probably others.
Ok ... The issue is that you have to understand how VFP does calculations when multiple detail bands are used or you get really confused. If you create a variable and tell it to COUNT and have the RESET AT value at End of report, it will get processed once for each parent record, once for each Detail1 band record, and once for each Detail2 band record. Usually this isn't what you want and you end up with off the wall values.
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.