Also, I have a text box that has =[DryWeight]/[DeltaWeight]in the control source of Density and if the answer doesn't come back between2.45-249 I need the error to appear, but this code is not working.
HELP
Private Sub Density_BeforeUpdate(Cancel As Integer)
If ((Me.Density < 2.45) Or (Me.Density > 2.49)) Then MsgBox "error check your weights"
Cancel = True
End If
End Sub