thanks @GinaWhipp , i fixed by another way , but i have another question , lets say i have a store table it will be consist (item,price,qty) the values lets say i have (pc,20 qty , 50$), then i sell the item lets say i sell 10 and i haved 10 in the store , then coming new some the same item but...