query to copy record by quantity into an archive table ...

OrionTC

Registered User.
Local time
Today, 15:45
Joined
Nov 16, 2010
Messages
12
Hi all, i was wondering how it was possible to create a query where by when you update the quantity field it will copy the "old" entire record into another table and keep the existing one updated with the new quantity.

for example:

Tape Range: 20 new media
Tape Type: DVD
Date Added: 20/11/2010
Quantity: 20

When the quantity field is changed to say 15 i want it to make a record that 20 previously existed and 5 have now been used on "todays date" acting as a mini audit trial.

is this possible using a query?
 
Basically you need a transaction table that records goods in goods out such as quantities, dates, prices, etc. Then depending on what stock control method you are using (LIFO, FIFO,AVCO,ETC) keep a balance of hat you have in stock.
 

Users who are viewing this thread

Back
Top Bottom