In the BeforeUpdate event of the FORM, put code that tests the first field for null. If it is null, test the second field. If an error condition exists, display a message box, cancel the update, and set focus to the field that needs to be changed.
If Len(Me.fld1) > 0 then
If Len(Me.fld2) = 0 then
Cancel = True
Me.txtfld2.SetFocus = True
Msgbox "Enter a value in fld2", vbOKOnly
end if
end if