[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

Spell Check Subform

I have a command button that executes a spell check when clicked.   I also need to perform a spell check on a subform.

What is the proper syntax for calling the acCmdSpelling on the subform?

'Spell check on main form (works fine)
DoCmd.RunCommand acCmdSpelling

'Spell check on sub form (does NOT work)
Forms![frmTopicsOpen]![sfrmComments].Form.RunCommand acCmdSpelling

Thanks,
EEH
0
ExpExchHelp
Asked:
ExpExchHelp
  • 2
1 Solution
 
LenaWoodCommented:
If you are wanting to run it from your button, what if you set focus on the subform first, and then said to run the spell check.
0
 
ExpExchHelpAuthor Commented:
Works like a charm!!!

Thanks, Lena.

EEH
0
 
LenaWoodCommented:
No problem...glad you understood what I was TRYING to say...I had enough typos to choke a horse haha.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now