I am trying to run an update query on my Stock table based on a certain barcode field.
Schema of Stock Table.
The query I am trying to run is
Update tblStock set Quantity = Quantity + 10, Total = Quantity * PPrice where barcode = 'shandar'
when Executing this query the Quantity Field gets updated but Total Field remains unchanged, I want to Multiply Quantity with PPrice.
Thanks in advance.
