S
scatman
I have 2 tables I'm using for a simple item shipment report.
Our custmers order X number of pieces on one purchase order, then get
shipments throughout the year against that PO.
tblOrder has:
Customer
OrderNo
PONo
PartNo
QtyOrdered
Unit
UnitPrice
tblShipments:
OrderNo
InvoiceNo
DateShipped
QtyShipped
The report I'm trying to create is used as a Shipment Log that is
attached to the cover of the each order file. It has (in the group
header) -
------------------------------------------------------------------------------------
OrderNo PartNo PONo QtyOrdered Unit
ex:
13804 2562-16 152480 450,000 Pcs
------------------------------------------------------------------------------------
Each detail line is/should be-
InvoiceNo DateShipped QtyShipped RemBalance
ex:
73150 6/10/06 120,000 330,000
74025 6/12/06 50,000 280,000
My question is..... how can I get the RemBal computed for each line in
the report?
I need a running total as opposed to a "grand total"
The first line could use [QtyOrdered] - [QtyShipped], but that wouldn't
work for subsequent lines.
Could I have a "work field" (that would not appear on the report) that
would keep a running total of shipments and subtract that from
QtyOrdered, or is there another way?
Thanks.
Our custmers order X number of pieces on one purchase order, then get
shipments throughout the year against that PO.
tblOrder has:
Customer
OrderNo
PONo
PartNo
QtyOrdered
Unit
UnitPrice
tblShipments:
OrderNo
InvoiceNo
DateShipped
QtyShipped
The report I'm trying to create is used as a Shipment Log that is
attached to the cover of the each order file. It has (in the group
header) -
------------------------------------------------------------------------------------
OrderNo PartNo PONo QtyOrdered Unit
ex:
13804 2562-16 152480 450,000 Pcs
------------------------------------------------------------------------------------
Each detail line is/should be-
InvoiceNo DateShipped QtyShipped RemBalance
ex:
73150 6/10/06 120,000 330,000
74025 6/12/06 50,000 280,000
My question is..... how can I get the RemBal computed for each line in
the report?
I need a running total as opposed to a "grand total"
The first line could use [QtyOrdered] - [QtyShipped], but that wouldn't
work for subsequent lines.
Could I have a "work field" (that would not appear on the report) that
would keep a running total of shipments and subtract that from
QtyOrdered, or is there another way?
Thanks.