Kool...thanks....I actually need data not to save if a certain field does not
meet a certain criteria when the form is closded....I will lok into that...
Use the Form's "Before Update" event to check the validity of the data. If
it's invalid, set the Cancel operand to True. The code might look like
Private Sub Form_BeforeUpdate(Cancel as Integer)
If Me!certainfield > 100 Then
MsgBox "certainfield must be <= 100!", vbOKOnly
Cancel = True
End If
End Sub