A
allie357
I have code in a button on my entry form that checks the spelling of a
description text box. The problem is that when I run it, it checks that
particular text box for all of the records I have entered in that
instance. I just want it to check the spelling for the current record's
text box only. Is it possible? How would I code this?
Thanks in advance.
Code:
--------------------------------------------------------------------------------
Private Sub CheckSpelling_Click()If MsgBox("Do you wish to check your
spelling?", vbYesNo, "Check Spelling") = vbNo Then
Cancel = True
Else Me.txtDescription.SetFocus
RunCommand acCmdSpelling
End If
End Sub
description text box. The problem is that when I run it, it checks that
particular text box for all of the records I have entered in that
instance. I just want it to check the spelling for the current record's
text box only. Is it possible? How would I code this?
Thanks in advance.
Code:
--------------------------------------------------------------------------------
Private Sub CheckSpelling_Click()If MsgBox("Do you wish to check your
spelling?", vbYesNo, "Check Spelling") = vbNo Then
Cancel = True
Else Me.txtDescription.SetFocus
RunCommand acCmdSpelling
End If
End Sub