J
JWS315
I have a form with a textbox and a tab control (have a text box and listbox
on the tab), I have added the code below to spell check the text box on the
tab control:
Forms!responses!txtstrength.SetFocus
DoCmd.RunCommand acCmdSpelling
The code does check the spelling of the textbox on the tab control, however
it also goes to the main form and checks the spelling of the textbox there
and then it resets the selected item in the listbox on the tab control to the
first item which causes my "Update" button to update the wrong item in the
listbox.
Is there anyway to A)Stop the spell check from checking other text fields on
the main form and B)Keep the listbox item selected to stay the same as before
the spell check codes executes?
Thanks for any help or suggestions!
Jerry
on the tab), I have added the code below to spell check the text box on the
tab control:
Forms!responses!txtstrength.SetFocus
DoCmd.RunCommand acCmdSpelling
The code does check the spelling of the textbox on the tab control, however
it also goes to the main form and checks the spelling of the textbox there
and then it resets the selected item in the listbox on the tab control to the
first item which causes my "Update" button to update the wrong item in the
listbox.
Is there anyway to A)Stop the spell check from checking other text fields on
the main form and B)Keep the listbox item selected to stay the same as before
the spell check codes executes?
Thanks for any help or suggestions!
Jerry