K
Kevin
I have pasted my code. i am using the "update" and "where" commands. The
"were" parts is not working, the names are spelt correctly and they are both
text fields, it is not finding the names ,I am just not sure what i have done
wrong, any help would be great.
Me.tempqty = Me.Quantityinstock - Me.QTY
DoCmd.RunSQL "UPDATE [stock] SET [quantityinstock]=" & Me.tempqty & "
where [stocknumber]= " & Me.PartNo
Me.tempqty = 0
"were" parts is not working, the names are spelt correctly and they are both
text fields, it is not finding the names ,I am just not sure what i have done
wrong, any help would be great.
Me.tempqty = Me.Quantityinstock - Me.QTY
DoCmd.RunSQL "UPDATE [stock] SET [quantityinstock]=" & Me.tempqty & "
where [stocknumber]= " & Me.PartNo
Me.tempqty = 0