You need the following tables in your database:
TblPart
PartID
PartNum
PartDesc
PartNote
TblJob
JobID
etc
TblJobDetail
JobDetailID
JobID
PartID
PartOutQty
TblSupplier
SupplierID
SupplierName
etc
TblPurchaseOrder
PurchaseOrderID
PurchaseOrderNum
PurchaseOrderDate
etc
TblPurchaseOrderDetail
PurchaseOrderDetailID
PurchaseOrderID
PartID
PartInQty
You need a form/subform for entering purchases of parts. The main form needs
to be based on
TblPurchaseOrder and the subform needs to be based on
TblPurchaseOrderDetail.
You need a form/subform for entering the use of parts on jobs. The main form
needs to be based on
TblJob and the subform needs to be based on TblJobDetail.
You then need a part inventory form. This form would be a continuous form
based on a query that included
TblPart, TblPurchaseOrderDetail and TblJobDetail. The query would include
the fields
PartID, PartNum, PartDesc, PartInQty and PartOutQty. You would make this
query a Totals query by clicking on the Sigma (looks like a capital E)
button in the menu at the top. You then need to add a calculated field to
the query that looks like:
PartInventory = [SumPartInQty] - [SumPartOutQty].
Set the sort for PartNum ascending.
Your Inventory form would include the fields PartNum, PartDesc and
PartInventory.
If you need help setting this up, I can set it up for you for a very
reasonable fee. I could incorporate what you already have so you could begin
using this system in a very short period of time.
PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)
Nita M. said:
I need to be able to keep up with parts on my husbands truck..(or he does).
I have already taken care of entering parts numbers, parts discription, &
notes. I need to have a column for parts on hand, that will update
automatically when numbers are entered in the columns for parts in and
parts
out. I have the information entered into both Access and Excel. I've
contacted people I use to work with who did training on both Access and
Excel
and they can't help me. I know there has to be a way to do this without
each
part having it's own ledger sheet. Please HELP