Good day everyone
It has really been awhile I posted in this forum
Please I have a form purchase order details, that I used to enter quantity of items purchased.
I found out that I can't delete quantities entered on the form.
It appears to delete, but on checking the quantity in the inventory, it was not deleted.
The vba code in my quantity section of the page is this
Quantity_AfterUpdate()
Dim IT As InventoryTransaction
If Me![Quantity] = 0 Then
RemoveCurrentLineItem
End If
AddPurchase Me![Purchase Order ID], Me![Item ID], Me![Quantity], NewInventoryID
End Sub
Thanks
It has really been awhile I posted in this forum
Please I have a form purchase order details, that I used to enter quantity of items purchased.
I found out that I can't delete quantities entered on the form.
It appears to delete, but on checking the quantity in the inventory, it was not deleted.
The vba code in my quantity section of the page is this
Quantity_AfterUpdate()
Dim IT As InventoryTransaction
If Me![Quantity] = 0 Then
RemoveCurrentLineItem
End If
AddPurchase Me![Purchase Order ID], Me![Item ID], Me![Quantity], NewInventoryID
End Sub
Thanks