Hello. I have the following code which is intended to check the spelling in a Comments field. I can't understand why it also checks the Name field on the same form. I want to restrict it to the comments field because the Name field is locked in the form in question (and people's names often cause the spell check to offer alternatives!).
Can anyone suggest a fix for this?
Thanks.
Code:
Private Sub txtComments_AfterUpdate()
If Len(Me!txtComments & "") > 0 Then
DoCmd.RunCommand acCmdSpelling
Else
Exit Sub
End If
End Sub
Can anyone suggest a fix for this?
Thanks.