Yes, did you write this statement ( Not sure where it came from). In any event, this statement:
strSQL = "UPDATE Materials SET Quantity = " & NumResult & ", QTY_Allocated = " & NumVar & " WHERE Material_ID = " & Me.cboMaterial_ID CurrentDb.Execute strSQL, dbFailOnError
Attempts to...