Solved

Spell checking an unbound form in MS Access 2013

Posted on 2016-11-01
9
84 Views
Last Modified: 2016-11-18
I am trying to get the MS Office spell checker to work within a couple of my forms.  I can open the linked table and select spell checker manually but I cannot get it to work on the form.  If I try to select spell checker while the form is open it is greyed out on the ribbon.  I have tried to use the attached code in the before update, after update, and unload events of the form.  I am at a loss and cannot find any help numerous forums.  Just getting the situations in which spell checker will work on a form would be helpful.  I always get this error when using the code in any of the above mentioned events: Run-time error '2046' The command or action 'Spelling' isn't available now.

I am about to pull my hair out so any help would be appreciated
Thanks
0
Comment
Question by:Joe Overman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 37

Accepted Solution

by:
PatHartman earned 500 total points
ID: 41868977
I think the problem may be that the form is unbound and spell check works on the recordset itself.  I'm off to a meeting.  If you don't have a solution when I get back, I'll check it out in my app.
0
 
LVL 8

Author Comment

by:Joe Overman
ID: 41892862
I must apologize for my absence.  I was out of town and then sick.  Still looking for a definitive answer on the question I posted.
0
 
LVL 37

Expert Comment

by:PatHartman
ID: 41892977
Does spell check work correctly for you on a bound form?
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 8

Author Comment

by:Joe Overman
ID: 41892993
I don't have any bound forms to check it on.  That is why I need to know if it will work with an unbound form or anyway to make it work.
0
 
LVL 37

Expert Comment

by:PatHartman
ID: 41893001
And I don't have any unbound forms to check it with and given what I know about how it works with bound forms, I'm pretty sure it is working on the recordset rather than the control.  To make the unbound form bound so you can test it, bind any table that has a text field and bind the control you are running the spell check on to that field.
0
 
LVL 8

Author Comment

by:Joe Overman
ID: 41893029
Yes it works with a bound form.  Unfortunately using bound forms defeats the design of the database.
0
 
LVL 37

Expert Comment

by:PatHartman
ID: 41893044
If you are using unbound forms, you are not getting any benefit from using Access as a FE.  You should probably find a different platform.  I've been working with Access since 2.0 and have found that doing things the "Access way" is the best course of action.  I came to Access as an experienced developer and in the beginning tried to mold it into my image of what it should be but ultimately came to understand what it was and it turns out that it is a pretty darn good RAD tool and I have never seen a better one.  But, unbound forms are not RAD and so Access is no help at all.
0
 
LVL 8

Author Comment

by:Joe Overman
ID: 41893059
I agree and thank you for your help.  It will require some code changes but I can achieve the same results with some bound forms and then enable spell check.  Thanks for your help and sorry for the long delay.
0
 
LVL 37

Expert Comment

by:PatHartman
ID: 41893113
You're welcome.  I hate it when the answer is "no".  Good luck.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question