ISTech Support Forum
http://www.istechforum.com/YaBB.pl
Crystal Reports, ODBC & Access >> Crystal Reports General Issues >> Counting lines in a BOM with Crystal
http://www.istechforum.com/YaBB.pl?num=1081223606

Message started by ndemarco on 04/05/04 at 19:53:26

Title: Counting lines in a BOM with Crystal
Post by ndemarco on 04/05/04 at 19:53:26

Hello all,

We are working on a report to show the number of line items in a bill of materials. Although this sounds easy, we are getting tripped up.

We are using a Running Total field to count the number of records. We are using grouping for each item's BOM.

If we put the RTotal field on the Group line, it always shows up as 0.

If we put the RTotal field on the Detail line, it doesn't reset, instead keeps counting up and up throughout the list of Items.

Ideas?

Thanks!

Nick

Title: Re: Counting lines in a BOM with Crystal
Post by sharon krewson on 04/06/04 at 05:44:59

Try putting your Rtotal in the group footer.  

I tried it and this is how I set it up:

Group by Parent;
Summarize by component with Count as the type of Summary;
Evaluate for each record;
Reset for each group

Title: Re: Counting lines in a BOM with Crystal
Post by ndemarco on 04/07/04 at 05:25:59

Thanks! I'm giving it a try today...

Regards,

Nick

ISTech Support Forum » Powered by YaBB 2.1!
YaBB © 2000-2005. All Rights Reserved.