I
If
I have the procedure below which applies to a form of introduction.
But if the user does not fill the field indicated by the error and
press the button (>*), access goes to the next record.
My Question:
Is it possible to use a procedure on this button (> *)?
My Procedure:
Private Sub Form_AfterUpdate()
If IsNull(Me![cmbName]) Then
MsgBox "Select a value for the 'Name' ", vbInformation, "Error"
Me![cmbName].SetFocus
Exit Sub
End If
.....
End Sub
But if the user does not fill the field indicated by the error and
press the button (>*), access goes to the next record.
My Question:
Is it possible to use a procedure on this button (> *)?
My Procedure:
Private Sub Form_AfterUpdate()
If IsNull(Me![cmbName]) Then
MsgBox "Select a value for the 'Name' ", vbInformation, "Error"
Me![cmbName].SetFocus
Exit Sub
End If
.....
End Sub