thanks. is there a way to get it to display the message when there is no value and not only where there is an update made? I tried adding the required field code to a save button command. It displayed a message if the field was blank but it also saved. What I am trying to do is alter the following code to do is NOT save if a required field is still blank. Any thoughts on this? Thanks
Code:
Private Sub Command199_Click()
If IsNull(Me!Loan_Number.Value) Then
MsgBox "Please enter Loan Number"
Cancel = True
End If
On Error GoTo Err_Command199_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Exit_Command199_Click:
Exit Sub
Err_Command199_Click:
MsgBox Err.Description
Resume Exit_Command199_Click
End Sub