• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

Automatically running spelling checker in database documents when saving

Is there a setting one can change to have the LN spelling checker run automatically every time someone edits and saves a document on a chosen LN database?
0
VHT
Asked:
VHT
  • 4
  • 3
  • 2
  • +1
2 Solutions
 
qwaleteeCommented:
Yes, srt of.  You haveto change the desin so it runs the spellchecker in the QuerySave for teh form.  Want some code?
0
 
VHTAuthor Commented:
Will it affect the performance on other databases? Do I need to change each document in the designated database, or an overall database setting?
0
 
qwaleteeCommented:
The way the mail template does it is by setting a field called $AutoSpell to the value (text) of "1"

This causes Notes to run a spell check against the subject and body fields of the open document befre sending the message.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
qwaleteeCommented:
You can change it at the form level.  The only performance effect is the time it takes the spell checker to run when saving.
0
 
HemanthaKumarCommented:
You can enable spell checker at each form level. In the queryclose event of the form call this @Command

@Command([ToolsSpellCheck])

Script equivalent is

Call notesUIDocument.SpellCheck()

The performance is sure a hit at doc save level, but not at db open or close and any other view operations..

~Hemanth
0
 
VHTAuthor Commented:
And where do I change this?
0
 
qwaleteeCommented:
VHT,
As I said, in the QuerySave event of the form.

0
 
VHTAuthor Commented:
How do I access the QuerySave event of the form?
0
 
HemanthaKumarCommented:
Open your form and in the program pane (bottom) will list all the design events. Select the form and look for querysave event
0
 
RanjeetRainCommented:
Qwaletee and Hemantha have assumed that you are familiar with Designer. Do you need help with that? Rest its cool. You may consider finalizing the qusetion.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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