Hello friends,
I've been acquainting myself with the new features of Access 2010 by picking apart the Northwind 2010 example database. I'm trying to figure out how the inventory levels in the Inventory table are updated. I've located the data macro named "UpdateInventory_Received" that calls the data macro CalcInventory_Received and then updates the Received and OnOrder fields in the Inventory table with the returned values. My question is that I can't figure out what calls the "UpdateInventory_Received" data macro. It seems this macro is triggered by checking the [PostedToInventory] field via form PurchaseOrderLineItemsReceiving. However, the AfterUpdate event for the [PostedToInventory] checkbox calls data macro "GetInventoryLevels" NOT "UpdateInventory_Received". I've scoured the form and nothing else seems to trigger "UpdateInventory_Received". I've tried updating the checkbox through the table and the Received and OnOrder fields are not updated automatically like they are when the checkbox is updated through the form.
Is anyone else familiar with the Northwind 2010 example database and can point me to what triggers the "UpdateInventory_Received" data macro?
Much appreciated,
oneleaf5
I've been acquainting myself with the new features of Access 2010 by picking apart the Northwind 2010 example database. I'm trying to figure out how the inventory levels in the Inventory table are updated. I've located the data macro named "UpdateInventory_Received" that calls the data macro CalcInventory_Received and then updates the Received and OnOrder fields in the Inventory table with the returned values. My question is that I can't figure out what calls the "UpdateInventory_Received" data macro. It seems this macro is triggered by checking the [PostedToInventory] field via form PurchaseOrderLineItemsReceiving. However, the AfterUpdate event for the [PostedToInventory] checkbox calls data macro "GetInventoryLevels" NOT "UpdateInventory_Received". I've scoured the form and nothing else seems to trigger "UpdateInventory_Received". I've tried updating the checkbox through the table and the Received and OnOrder fields are not updated automatically like they are when the checkbox is updated through the form.
Is anyone else familiar with the Northwind 2010 example database and can point me to what triggers the "UpdateInventory_Received" data macro?
Much appreciated,
oneleaf5