try this...
sql1 = "DELETE * FROM table WHERE userID = " & tempID & " "
your id field is now a number, not text. Removing the single quote will allow the statement to work...
In theory comparing a numeric value to a string value should never find a match because they are nothing like each other, it would be like comparing the clock speed of a computer with the clock speed of a coconut.