Re:> I have an order entry app that will also keep track of inventory stock quantities.
"stock quantities" data need to be recorded in a table
"order/ cancled(deleted order)" date need to be recorded in a table
But, inventory shouldn't be recorded in a table, it needs to be examined by a quey to find:
[inventory]=[stock + order] - [orders leaving stock]
Therefore, there is not anything to do when you are saying: "...so I can update the inventory..."
-------------
There should be a Yes/No field in your order table called OrderCanceledYN. And, your form needs to be set Allow Deletion property to No. No, if a customer enters different part numbers and whishes to cancle (delete) two of them, they have to check OrderCanceledYN field. meaning, you will have a good record of it in your table always.
Also, it is a good idea, to include a field called TimeStamp (Date/Time). And in the after update event of your form incude:
Me!txtTimeStamp =Now()
This way, you will know what item is deleted and on what date and time. If the decide to include it again, OrderCanceledYN for that item could be checked-off.
This is not like LogTable that banks use, but considering its simplicity, it seems quick and you may find it suficient for you application. LogTable will track unlimited add/ reomve and is overkill.
Mike
Main Topics
Browse All Topics





by: capricorn1Posted on 2004-02-29 at 21:25:31ID: 10484025
You may need an audit logging /service/E E/
u/~allenbr owne/AppAu dit.html
Check this sites
http://www.itsgemeiner.com
select recordchange.mdb
http://members.iinet.net.a