OK, so I'll try to explain this the best I can.
I have a table (Time Table) with the fields ID, EmpID, Part Number, Order Number, Start and Finish Time, EmpName, Location, and Quantity.
I've developed a database that has a multi-item form showing all of the non-finished orders. These orders are entered by a subform, with the field lists, and a on-screen number pad for the quantity. The user will scan his Employee ID, the Order Number, Part Number, and Location (what station he's at) barcodes, enter the quantity of parts that he has completed, and hit start. Then when he's done, he'll select his order from the list and hit finish.
And so the part proceeds through the shop, until shipping. When the item has shipped, it is given the location, "SHIPPED".
Now for my dilemma:
I need a mechanism to show a report of all the open order that we have. Easy, right? But there's a hitch. Some orders have multiple parts, and we want to see all the parts, until all of them have been shipped.
The problem is that the way I am tracking the production time of the parts, each location makes a new entry into the table. This is for cost/labor tracking.
I have made a report that shows all open parts, grouped by order number, but as each location is a separate entry, the only item that disappears once the order HAS been completed is the SHIPPED entry. The rest remain. How can I show a report that lists all open orders, and include parts that have been completed until the order is closed? Furthermore, how do I get those other entries to disappear once the last entry has been marked as shipped?
I'm sure I missed something, so if you have questions, fire away.
I've attached our entry-form database, but not sure it it'll help, as it links to another database for the tables.
Here is an sample of an order:
So as you see, this is all one order. One location line of one part in one order is SHIPPED. What needs to happen is if a location line of shipped is added to all three parts that it is hidden.ID--EmpID--Part Number--Order Number-- Start Time------------ Finish Time---------- EmpName------- Location
75--12345--A12----------12552----------6/30/2011 1:28:50 PM-- 6/30/2011 1:30:34 PM--Bob Villa------CNC
83--12345--A35----------12552----------7/1/2011 8:06:54 AM--------------------------John Smither-- SHIPPED
78--12345--A35----------12552----------6/30/2011 1:52:44 PM------------------------ John Smither-- ASSY
73--12345--A35----------12552----------6/30/2011 1:15:20 PM-- 6/30/2011 1:15:59 PM--John Smither-- CNC
80--12345--ASAL1299---- 12552----------6/30/2011 1:53:35 PM------------------------ John Smither-- BANDS
82--10001--ASAL1299---- 12552----------6/30/2011 1:54:25 PM------------------------ Bob Villa------SHIPPING