somewho
09-05-2009, 07:46 PM
Hello.
I have a table to keep track of the inventories of a specific product in a specific store that looks like this :
[product_inventories]
product
store
quantity
I want that if a user create a new product and/or a new store, inventory data for each product should be automatically added for each product/store available.
For example :
Data in [products] table :
Apple
Banana
Data in [stores] table :
ABC
XYZ
User create a new "Mango" product, so these inventory data should be automatically added :
Mango / ABC / 0
Mango / XYZ / 0
How can I do this with an append query? Or should I use something else? I'm pretty new to access and VB. Oh, and I'm using MS Access 2007.
Thanks before...
I have a table to keep track of the inventories of a specific product in a specific store that looks like this :
[product_inventories]
product
store
quantity
I want that if a user create a new product and/or a new store, inventory data for each product should be automatically added for each product/store available.
For example :
Data in [products] table :
Apple
Banana
Data in [stores] table :
ABC
XYZ
User create a new "Mango" product, so these inventory data should be automatically added :
Mango / ABC / 0
Mango / XYZ / 0
How can I do this with an append query? Or should I use something else? I'm pretty new to access and VB. Oh, and I'm using MS Access 2007.
Thanks before...