hfsitumo2001
Member
- Local time
- Today, 01:13
- Joined
- Jan 17, 2021
- Messages
- 365
I see that quantity of inventory can be updated from quantity of purchase order/stock in with the code like this:
How can I update or replace the unit price of the inventory by the price of the last purchase. Can I make it like this"With rst
.Edit
!Inv_Qty = !Inv_Qty + Nz(Me.Quantity, 0)
.Update
End With
Thank you for any idea or if you have sample of databaseWith rst
.Edit
!InvUnitPrice= Nz(Me.UnitPrice, 0)
.Update
End With