B
briank
I would like to set code in a form that does not allow a user to delete an
entry but at the same time allows them the ability to change it. Currently my
code does not differenciate between the two and will not allow changes. Any
thoughts on how to tweak this?
If IsNull(Me.Grant2_Goal) = False Or _
IsNull(Me.Grant2_Q1) = False Or _
IsNull(Me.Grant2_Q2) = False Or _
IsNull(Me.Grant2_Q3) = False Or _
IsNull(Grant2_Q4) = False Then
MsgBox "<message>", vbOKOnly
Me.Grant2_Notes.Undo
Cancel = True
End If
entry but at the same time allows them the ability to change it. Currently my
code does not differenciate between the two and will not allow changes. Any
thoughts on how to tweak this?
If IsNull(Me.Grant2_Goal) = False Or _
IsNull(Me.Grant2_Q1) = False Or _
IsNull(Me.Grant2_Q2) = False Or _
IsNull(Me.Grant2_Q3) = False Or _
IsNull(Grant2_Q4) = False Then
MsgBox "<message>", vbOKOnly
Me.Grant2_Notes.Undo
Cancel = True
End If