< Back

Document Subject: Add Search Bar for Help View Only
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#AddHelpSearchBar or http://A555F9/nn.nsf/ByAlias/AddHelpSearchBar

I needed to try and promote the use of help pages by our users, one way was to show the search box automatically when they went to the help documents view.




 

Stick in the Query Open event of the Help view:

@PostedCommand([ViewShowSearchBar];"1")

Stick in the QueryClose event of the Help View:

@PostedCommand([ViewShowSearchBar];"0")

 

That's it, when transferring to another view the search bar is removed.

Very useful for Notes databases.