I am using Crystal Reports v9.
I am trying to create a report that will display a history of sales for a particular customer and inventory item.
The customer contracts with us to purchase so many pounds of item A for a specific period of time (i.e., two years).
My columns on the report are:
Beg. Balance (lbs)
Invoice Date
Delivery Location
Invoice #
Qty Shipped
Ending Balance (lbs)
I created a running total on the Qty Shipped, so I could subtract the running total Qty Shipped from the Beg. Balance to get the Ending Balance.
My problem is that I don't have a way to get started with the beginning balance so that each row displays a new beginning and ending balance.
I am using a parameter to enter the Beginning Balance contract quantity {?Beg Balance}. How do I get the report to flow so that the Ending Balance on Row 1 now becomes the Beginning Balance on Row 2 and so on?
Beg Bal Date Inv Qty End Bal
800,000 9/14/04 4618 40,000 760,000
760,000 9/30/04 4678 10,000 750,000
750,000 10/11/04 4719 20,000 730,000
My Ending Balance formula is {?Beg Balance} - {#RT Quantity}. I only need to use the Beg Balance parameter in the first row; for rows 2 and up I need to use the Ending Balance formula.
I am trying to create a report that will display a history of sales for a particular customer and inventory item.
The customer contracts with us to purchase so many pounds of item A for a specific period of time (i.e., two years).
My columns on the report are:
Beg. Balance (lbs)
Invoice Date
Delivery Location
Invoice #
Qty Shipped
Ending Balance (lbs)
I created a running total on the Qty Shipped, so I could subtract the running total Qty Shipped from the Beg. Balance to get the Ending Balance.
My problem is that I don't have a way to get started with the beginning balance so that each row displays a new beginning and ending balance.
I am using a parameter to enter the Beginning Balance contract quantity {?Beg Balance}. How do I get the report to flow so that the Ending Balance on Row 1 now becomes the Beginning Balance on Row 2 and so on?
Beg Bal Date Inv Qty End Bal
800,000 9/14/04 4618 40,000 760,000
760,000 9/30/04 4678 10,000 750,000
750,000 10/11/04 4719 20,000 730,000
My Ending Balance formula is {?Beg Balance} - {#RT Quantity}. I only need to use the Beg Balance parameter in the first row; for rows 2 and up I need to use the Ending Balance formula.