Im experienced in Access but done very little VBA.
Please could you help me out with some code for:-
I am trying to create an inventory application in Access 2007.
I have created the following tables:-
- Stock table (where information is entered and stored on each shoe
when it
comes in)
- Warehouse table (where stock is kept, if transferring from one shop
to another)
- Shop table (eg. Nelson, where information is stored on each shoe)
- Incoming Transactions table (where information is stored on
incoming
transactions eg, new shoes come in)
- Outgoing Transactions (where information is stored on outgoing
transactions
eg, selling a pair of shoes).
- Sales table (where information is stored when we sell a shoe)
After I enter the shoe information into the stock table when we have
recieved an order. I would like to press a button to add the records to that
stock table and add/update the records to the incoming transactions table and
the shop/warehouse table, (to whatever location its going to ).
When we have sold a shoe, I would like to enter the details into the sales
table. When I press a button, the records will be added to the sales table
and the outgoing transaction table. Then in turn the quantity of stock will
be updated from where we have sold the shoe, (eg Nelson or Warehouse table).
When we transfer a shoe, it goes from a shop to the warehouse on a credit
note then it is invoiced to another shop. When this happens I would like the
relevant shops stock to be updated and the appropriate transaction table.
I need your precious advice on how to automatically update the stock?
Will I need to create update queries for each situation? Or create a macro
which contains an update query and VBA?
I hope my explanation is clear to you.
Please do not hesitate to ask me any questions if you need to clarify before
being able to answer my question.
Thanks for all your help,
Louisa Holt.