i know i asked this too many times already here but i still dont get it.
how can you update without a subitem?
i have 3 fields in inventorty system.
InvQuantity,InvSold,InvRemain
i have 10 items in the InvQuantity
if i sale 7 then the remain is 3 right?
how do i do that my inventory fields will be like this after i sale
InvQuantity = 10 InvSold = 7 InvRemain = 3
i have this code that suppose to update the InvSold But Dosnt do nothing.
i just dont know what to do.i swear im lost
this is my DB
HairDesign.zip
how can you update without a subitem?
i have 3 fields in inventorty system.
InvQuantity,InvSold,InvRemain
i have 10 items in the InvQuantity
if i sale 7 then the remain is 3 right?
how do i do that my inventory fields will be like this after i sale
InvQuantity = 10 InvSold = 7 InvRemain = 3
i have this code that suppose to update the InvSold But Dosnt do nothing.
Code:
strSQL = "UPDATE Inventory SET InvSold = InvSold - " & Txt(6).text & " WHERE InvParts = '" & RplS(Txt(5).text) & "'"
this is my DB
HairDesign.zip