Need a Crystal Report that moves to next parent when child records reach a running total
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.
8/22/2022 - Mon
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst