troubleshooting Question

Need a Crystal Report that moves to next parent when child records reach a running total

Avatar of dossbob
dossbobFlag for United States of America asked on
Crystal Reports
6 Comments1 Solution433 ViewsLast Modified:
I'm using Crystal Reports 10. I have a Inventory table with Items and a quantity on-hand. I have another table of Inventory Transactions, each with an Item and a transaction quantity.

For each Inventory record, I want to start displaying Transaction records and keep a running total of the transaction quantities. When the running total exactly matches the the on-hand quantity, I want to stop displaying Transaction records, and move to the next Inventory record.

For performance, I'd rather do this in the initial selection of Transactions, but if necessary I can retrieve all Transactions, then limit what I print.

Any suggestions would be appreciated.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros