C
Chuck Sears
I have an unbound text box on a form that is giving an
error 2115, saying that the BeforeUpdate or ValidationRule
for the field is preventing the update. There is no code
at all in the BeforeUpdate event and there are no
validation rules.
Help!!
If RS!ContactDeceased = "yes" Then
chkDeceased = 1
With txtDOD
.Visible = True
.SetFocus
.Locked = False
If Not IsNull(RS!dateofdeath) Then
sDOD = Format(RS!dateofdeath, "mm/dd/yyyy")
error occurs here>>> .Text = sDOD
Else
.Text = "Unknown"
End If
.Locked = True
End With
error 2115, saying that the BeforeUpdate or ValidationRule
for the field is preventing the update. There is no code
at all in the BeforeUpdate event and there are no
validation rules.
Help!!
If RS!ContactDeceased = "yes" Then
chkDeceased = 1
With txtDOD
.Visible = True
.SetFocus
.Locked = False
If Not IsNull(RS!dateofdeath) Then
sDOD = Format(RS!dateofdeath, "mm/dd/yyyy")
error occurs here>>> .Text = sDOD
Else
.Text = "Unknown"
End If
.Locked = True
End With