O
open a adobe file from a command button
I have this code in beforeUpdate, but it does not work. All I want is to
force a name in the field, making it A-Z would be nice but just making give a
MsgBox saying somethings wrong is a start for me!!
Thanks
Private Sub E_Fname_BeforeUpdate(Cancel As String)
If Len(Me.E_Fname & vbNullString) = "''" Then
Cancel = True
MsgBox "Value required", vbOKOnly, "First Name Missing!!"
Me.E_Fname.SetFocus
End If
End Sub
force a name in the field, making it A-Z would be nice but just making give a
MsgBox saying somethings wrong is a start for me!!
Thanks
Private Sub E_Fname_BeforeUpdate(Cancel As String)
If Len(Me.E_Fname & vbNullString) = "''" Then
Cancel = True
MsgBox "Value required", vbOKOnly, "First Name Missing!!"
Me.E_Fname.SetFocus
End If
End Sub