G
Guest
Hi all, I am trying to undo a control value if incorrect item is chosen. I
have tried:
If [Activity] = "IA" Or [Activity] = "FA" Then
MsgBox "IA and FA Activities are now Invalid, please reselect an
appropriate Activity"
Me![Activity].Undo
End If
The error message appears ok but the value is not undon (reset to its
original value or blank if new record). I've entered the code in the
afterupdate event of the Activity field. I can't set it to Null because it is
a required field and this produced an error.
Thanks in advance for any help.
Sue
have tried:
If [Activity] = "IA" Or [Activity] = "FA" Then
MsgBox "IA and FA Activities are now Invalid, please reselect an
appropriate Activity"
Me![Activity].Undo
End If
The error message appears ok but the value is not undon (reset to its
original value or blank if new record). I've entered the code in the
afterupdate event of the Activity field. I can't set it to Null because it is
a required field and this produced an error.
Thanks in advance for any help.
Sue